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

        html {
            height: 100%;
            overflow: hidden;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
            background: #f7f7f7;
            color: #1f1f1f;
            overflow: hidden;
            height: 100%;
            width: 100%;
            margin: 0;
            padding: 0;
        }

        .chat-container {
            display: flex;
            flex-direction: column;
            height: 100vh;
            height: 100dvh; /* 移动端使用动态视口高度 */
            width: 100%;
            margin: 0 auto;
            background: #f7f7f7;
            padding-top: 48px; /* 为固定的评论横幅留出空间 */
        }

        .chat-header {
            background: #ffffff;
            padding: 0.65rem 1rem;
            border-bottom: 1px solid #f0f0f0;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .header-left {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            flex: 1;
            min-width: 0;
        }

        .header-back {
            font-size: 1.4rem;
            color: #666;
            cursor: pointer;
            line-height: 1;
            padding: 0.2rem;
        }

        .header-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: #0084ff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            color: white;
            flex-shrink: 0;
            overflow: hidden;
        }

        .header-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .header-avatar .fa, .header-avatar .fas {
            font-size: 18px;
            color: white;
        }

        .header-info {
            flex: 1;
            min-width: 0;
        }

        .header-title {
            color: #1f1f1f;
            font-size: 0.95rem;
            font-weight: 600;
            line-height: 1.4;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .header-subtitle {
            color: #999;
            font-size: 0.7rem;
            line-height: 1.3;
        }

        .header-actions {
            display: flex;
            gap: 0.8rem;
            align-items: center;
        }

        .header-icon {
            font-size: 1.25rem;
            color: #666;
            cursor: pointer;
            transition: color 0.2s;
            display: flex;
            align-items: center;
            padding: 0.3rem;
            line-height: 1;
        }

        .header-icon:active {
            color: #333;
        }

        .chat-messages {
            flex: 1;
            overflow-y: auto;
            overflow-x: hidden;
            -webkit-overflow-scrolling: touch; /* iOS平滑滚动 */
            padding: 1rem;
            background: #f7f7f7;
            position: relative;
            min-height: 0; /* 修复flex滚动问题 */
            overscroll-behavior: contain; /* 防止滚动穿透 */
            touch-action: pan-y; /* 允许垂直滑动 */
            z-index: 1; /* 确保在其他元素上方可以交互 */
            pointer-events: auto; /* 确保可以接收鼠标/触摸事件 */
        }

        /* 消息气泡样式 */
        .message {
            padding: 0.35rem 1rem;
            width: 100%;
            display: flex;
        }

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

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

        .message-wrapper {
            max-width: 92%;
            width: 100%;
            min-width: 85%;
        }

        .message.ai .message-wrapper {
            max-width: 92%;
            width: 100%;
            min-width: 85%;
        }

        .message.user .message-wrapper {
            max-width: 80%;
            width: fit-content;
        }

        .message-content {
            line-height: 1.6;
            font-size: 0.95rem;
            padding: 0.8rem 1rem;
            border-radius: 20px;
            word-wrap: break-word;
            word-break: break-word;
            overflow-wrap: break-word;
        }

        .message.ai .message-content {
            background: #ffffff;
            color: #1f1f1f;
            border-bottom-left-radius: 6px;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
        }

        .message.user .message-content {
            background: #0084ff;
            color: #ffffff;
            border-bottom-right-radius: 6px;
            box-shadow: 0 1px 2px rgba(0, 132, 255, 0.2);
        }

        .message-content p {
            margin-bottom: 0.5rem;
        }

        .message-content p:last-child {
            margin-bottom: 0;
        }

        .message-content > * {
            max-width: 100%;
            overflow: hidden;
        }

        .stock-data {
            margin-top: 0.75rem;
            padding: 0.75rem;
            background: #f8f9fa;
            border-radius: 12px;
            border: 1px solid #e5e5e5;
            overflow: hidden;
            max-height: 450px;
            position: relative;
        }

        /* 股票列表容器 */
        .stock-data-scroll-container {
            max-height: 400px;
            overflow-y: auto;
            animation: stockAutoScroll 20s linear infinite;
            animation-play-state: running;
        }

        .stock-data-scroll-container:hover {
            animation-play-state: paused;
        }

        @keyframes stockAutoScroll {
            0% {
                scroll-behavior: smooth;
            }
            100% {
                scroll-behavior: smooth;
            }
        }


        .stock-data::-webkit-scrollbar {
            width: 4px;
        }

        .stock-data::-webkit-scrollbar-track {
            background: transparent;
        }

        .stock-data::-webkit-scrollbar-thumb {
            background: rgba(0, 0, 0, 0.15);
            border-radius: 2px;
        }

        .stock-data::-webkit-scrollbar-thumb:hover {
            background: rgba(0, 0, 0, 0.25);
        }

        .stock-item {
            display: flex;
            justify-content: space-between;
            padding: 0.5rem 0;
            border-bottom: 1px solid #e5e5e5;
            font-size: 0.85rem;
        }

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

        .stock-name {
            font-weight: 500;
            color: #666;
            flex: 1;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .stock-price {
            color: #10b981;
            font-weight: 600;
            font-family: 'Courier New', monospace;
            flex-shrink: 0;
            margin-left: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }

        .stock-price.down {
            color: #ef4444;
        }

        .stock-arrow {
            font-size: 0.75rem;
            font-weight: bold;
        }

        .stock-arrow.up {
            color: #10b981;
        }

        .stock-arrow.down {
            color: #ef4444;
        }

        /* K线图容器 */
        .chart-container {
            margin-top: 0.75rem;
            padding: 0.75rem;
            background: #f8f9fa;
            border-radius: 12px;
            border: 1px solid #e5e5e5;
            overflow: hidden;
        }

        .chart-container canvas {
            max-width: 100% !important;
            height: auto !important;
        }

        .chat-input-container {
            padding: 0.75rem 1rem;
            background: #ffffff;
            border-top: 1px solid #e5e5e5;
            flex-shrink: 0;
        }

        .chat-input-wrapper {
            position: relative;
            display: flex;
            gap: 0.5rem;
            align-items: flex-end;
        }

        .chat-input {
            flex: 1;
            padding: 0.75rem 1rem;
            background: #f5f5f5;
            border: 1px solid #e5e5e5;
            border-radius: 20px;
            color: #333;
            font-size: 0.95rem;
            outline: none;
            resize: none;
            min-height: 44px;
            max-height: 200px;
            font-family: inherit;
            line-height: 1.5;
        }

        .chat-input:focus {
            border-color: #00a6ff;
            background: #ffffff;
        }

        .chat-input::placeholder {
            color: #999;
        }

        .send-button {
            padding: 0.6rem 1.2rem;
            min-width: 60px;
            height: 44px;
            background: #0084ff;
            color: white;
            border: none;
            border-radius: 22px;
            cursor: pointer;
            font-weight: 500;
            font-size: 0.9rem;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            white-space: nowrap;
            box-shadow: 0 2px 8px rgba(0, 132, 255, 0.25);
        }

        .send-button:active:not(:disabled) {
            transform: scale(0.96);
            background: #0077e6;
        }

        .send-button:disabled {
            background: #e0e0e0;
            color: #999;
            cursor: not-allowed;
            opacity: 0.6;
            box-shadow: none;
        }

        .typing-indicator {
            display: inline-flex;
            gap: 4px;
            padding: 0.5rem 0;
        }

        .typing-indicator span {
            width: 6px;
            height: 6px;
            background: #bbb;
            border-radius: 50%;
            animation: typing 1.4s infinite;
        }

        .typing-indicator span:nth-child(2) {
            animation-delay: 0.2s;
        }

        .typing-indicator span:nth-child(3) {
            animation-delay: 0.4s;
        }

        @keyframes typing {
            0%, 60%, 100% {
                opacity: 0.3;
                transform: translateY(0);
            }
            30% {
                opacity: 1;
                transform: translateY(-3px);
            }
        }

        @keyframes pulse {
            0%, 100% {
                opacity: 1;
                transform: scale(1);
            }
            50% {
                opacity: 0.5;
                transform: scale(1.2);
            }
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }

        .fa-spin {
            animation: spin 1s linear infinite;
        }

        @keyframes scrollReviews {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-50%);
            }
        }

        /* 评论横幅样式 */
        .reviews-banner {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: #ffffff;
            border-bottom: 1px solid #e5e5e5;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            z-index: 999;
            overflow: hidden;
        }

        .reviews-banner-content {
            display: flex;
            padding: 0.75rem 0;
            animation: scrollReviews 30s linear infinite;
        }

        .reviews-banner-content:hover {
            animation-play-state: paused;
        }

        .review-item {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0 1.5rem;
            white-space: nowrap;
            border-right: 1px solid #f0f0f0;
            flex-shrink: 0;
        }

        .review-stars {
            color: #ffc107;
            font-size: 0.875rem;
            letter-spacing: 2px;
        }

        .review-text {
            font-size: 0.85rem;
            color: #333;
            margin-right: 0.5rem;
        }

        .review-author {
            font-size: 0.75rem;
            color: #666;
            font-weight: 600;
        }

        .review-source {
            display: inline-flex;
            align-items: center;
            gap: 0.25rem;
            background: #f0f0f0;
            padding: 0.125rem 0.5rem;
            border-radius: 12px;
            font-size: 0.7rem;
            color: #666;
        }

        .close-banner {
            position: absolute;
            right: 1rem;
            top: 50%;
            transform: translateY(-50%);
            background: #f5f5f5;
            border: none;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            color: #666;
            transition: all 0.2s;
            z-index: 1000;
        }

        .close-banner:hover {
            background: #e5e5e5;
            color: #333;
        }

        .line-button {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.25rem;
            background: #0084ff;
            color: white;
            border-radius: 22px;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.9rem;
            margin-top: 0.75rem;
            transition: all 0.2s;
            border: none;
            box-shadow: 0 2px 8px rgba(0, 132, 255, 0.25);
        }

        .line-button:active {
            transform: scale(0.96);
            background: #0077e6;
        }

        /* Modal styles */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            align-items: center;
            justify-content: center;
            padding: 1rem;
        }

        .modal.active {
            display: flex;
        }

        .modal-content {
            background: #ffffff;
            padding: 2rem;
            border-radius: 20px;
            max-width: 480px;
            width: 100%;
            color: #333;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
            max-height: 90vh;
            max-height: 90dvh; /* 移动端使用动态视口高度 */
            overflow-y: auto;
            display: flex;
            flex-direction: column;
        }

        .modal-header {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            color: #333;
        }

        .form-group {
            margin-bottom: 0.875rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.4rem;
            font-weight: 500;
            font-size: 0.875rem;
            color: #666;
        }

        .form-group input {
            width: 100%;
            padding: 0.75rem;
            background: #f5f5f5;
            border: 1px solid #e5e5e5;
            border-radius: 12px;
            color: #333;
            font-size: 1rem;
            outline: none;
        }

        .form-group input:focus {
            border-color: #00a6ff;
            background: #ffffff;
        }

        .modal-buttons {
            display: flex;
            gap: 0.75rem;
            margin-top: 1.5rem;
        }

        .modal-button {
            flex: 1;
            padding: 0.75rem;
            border: none;
            border-radius: 12px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
            font-size: 0.875rem;
        }

        .modal-button.primary {
            background: #0084ff;
            color: white;
            box-shadow: 0 2px 8px rgba(0, 132, 255, 0.25);
        }

        .modal-button.primary:active {
            transform: scale(0.96);
            background: #0077e6;
        }

        .modal-button.secondary {
            background: #f5f5f5;
            color: #666;
        }

        .modal-button.secondary:active {
            background: #e5e5e5;
        }

        .disclaimer {
            margin-top: 1rem;
            padding: 0.875rem;
            background: rgba(239, 68, 68, 0.1);
            border-radius: 12px;
            font-size: 0.8125rem;
            color: #ef4444;
            border-left: 3px solid #ef4444;
            line-height: 1.6;
        }

        /* 设置弹窗 */
        .settings-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 2000;
            align-items: center;
            justify-content: center;
            padding: 1rem;
        }

        .settings-modal.active {
            display: flex;
        }

        .settings-content {
            background: #ffffff;
            padding: 0;
            border-radius: 20px;
            max-width: 500px;
            width: 100%;
            max-height: 80vh;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        }

        .settings-header {
            padding: 1.5rem;
            background: #0084ff;
            color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .settings-header h2 {
            font-size: 1.25rem;
            font-weight: 600;
        }

        .settings-close {
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            padding: 0;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background 0.2s;
        }

        .settings-close:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .settings-body {
            padding: 1.5rem;
            overflow-y: auto;
            flex: 1;
        }

        .settings-section {
            margin-bottom: 1.5rem;
        }

        .settings-section-title {
            font-size: 0.875rem;
            font-weight: 600;
            color: #666;
            margin-bottom: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .setting-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem;
            background: #f8f9fa;
            border-radius: 12px;
            margin-bottom: 0.75rem;
            cursor: pointer;
            transition: all 0.2s;
            border: 2px solid transparent;
        }

        .setting-item:hover {
            background: #f0f0f0;
            border-color: #667eea;
        }

        .setting-item.locked {
            opacity: 0.7;
            position: relative;
        }

        .setting-item-left {
            display: flex;
            align-items: center;
            gap: 1rem;
            flex: 1;
        }

        .setting-icon {
            width: 40px;
            height: 40px;
            background: #0084ff;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.1rem;
        }

        .setting-info {
            flex: 1;
        }

        .setting-title {
            font-size: 0.95rem;
            font-weight: 600;
            color: #333;
            margin-bottom: 0.25rem;
        }

        .setting-desc {
            font-size: 0.8rem;
            color: #999;
        }

        .setting-badge {
            background: #ff3b30;
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        .setting-toggle {
            width: 50px;
            height: 28px;
            background: #ccc;
            border-radius: 14px;
            position: relative;
            transition: background 0.3s;
        }

        .setting-toggle.active {
            background: #0084ff;
        }

        .setting-toggle::after {
            content: '';
            position: absolute;
            width: 22px;
            height: 22px;
            background: white;
            border-radius: 50%;
            top: 3px;
            left: 3px;
            transition: left 0.3s;
        }

        .setting-toggle.active::after {
            left: 25px;
        }

        /* 股票预测卡片 */
        .prediction-card {
            margin-top: 1rem;
            padding: 1rem;
            background: #ffffff;
            border-radius: 16px;
            border: 1px solid #e5e5e5;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
        }

        .prediction-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.75rem;
        }

        .prediction-stock {
            font-weight: 600;
            font-size: 1rem;
            color: #333;
        }

        .prediction-confidence {
            background: #34c759;
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        .prediction-data {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.75rem;
            margin-top: 0.75rem;
        }

        .prediction-item {
            background: white;
            padding: 0.75rem;
            border-radius: 8px;
        }

        .prediction-label {
            font-size: 0.75rem;
            color: #999;
            margin-bottom: 0.25rem;
        }

        .prediction-value {
            font-size: 1.1rem;
            font-weight: 700;
            color: #333;
        }

        .prediction-value.up {
            color: #10b981;
        }

        .prediction-value.down {
            color: #ef4444;
        }

        /* 预测数据模糊效果 */
        .prediction-blur {
            position: relative;
        }

        .prediction-data-wrapper {
            position: relative;
        }

        .prediction-blur-overlay {
            position: absolute;
            top: -10px;
            left: -10px;
            right: -10px;
            bottom: -10px;
            backdrop-filter: blur(18px) saturate(150%);
            -webkit-backdrop-filter: blur(18px) saturate(150%);
            background: rgba(255, 255, 255, 0.25);
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            z-index: 10;
            transition: opacity 0.3s ease;
        }

        /* Safari备用虚化效果 - 使用更强的模糊和半透明 */
        @supports not (backdrop-filter: blur(1px)) {
            .prediction-blur-overlay {
                background: rgba(250, 250, 250, 0.7);
                background-image:
                    repeating-linear-gradient(
                        0deg,
                        rgba(255, 255, 255, 0.4) 0px,
                        rgba(255, 255, 255, 0.4) 1px,
                        rgba(240, 240, 240, 0.4) 1px,
                        rgba(240, 240, 240, 0.4) 2px
                    );
                filter: blur(4px);
            }

            .prediction-blur-overlay::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background: rgba(255, 255, 255, 0.2);
                backdrop-filter: blur(10px);
                -webkit-backdrop-filter: blur(10px);
            }
        }

        .blur-view-button {
            background: #0084ff;
            color: white;
            padding: 0.75rem 2rem;
            border-radius: 25px;
            border: none;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(0, 132, 255, 0.3);
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .blur-view-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 132, 255, 0.4);
        }

        .blur-view-button:active {
            transform: translateY(0);
            background: #0077e6;
        }

        /* 快捷模型菜单 */
        .quick-models {
            padding: 0.75rem 1rem;
            background: #ffffff;
            border-top: 1px solid #f0f0f0;
            overflow-x: auto;
            overflow-y: hidden;
            white-space: nowrap;
            -webkit-overflow-scrolling: touch;
            flex-shrink: 0; /* 防止在flex布局中收缩 */
        }

        .quick-models::-webkit-scrollbar {
            height: 0;
            display: none;
        }

        .models-container {
            display: inline-flex;
            gap: 0.5rem;
        }

        .model-chip {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.5rem 0.9rem;
            background: #ffffff;
            border: 1px solid #e5e5e5;
            border-radius: 18px;
            font-size: 0.85rem;
            color: #1f1f1f;
            cursor: pointer;
            transition: all 0.2s;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .model-chip:active {
            background: #f0f0f0;
            transform: scale(0.96);
        }

        .model-chip.active {
            background: #0084ff;
            color: white;
            border-color: #0084ff;
        }

        /* 输入框工具按钮 */
        .input-tools {
            display: flex;
            gap: 0.4rem;
            align-items: center;
        }

        .tool-button {
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f5f5f5;
            border: 1px solid #e5e5e5;
            border-radius: 50%;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.2s;
            flex-shrink: 0;
        }

        .tool-button:active {
            background: #e5e5e5;
            transform: scale(0.95);
        }

        .tool-button.voice-active {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-color: #667eea;
        }

        /* Font Awesome图标样式 */
        .fa, .fas, .far {
            font-size: 16px;
        }

        .header-icon .fa, .header-icon .fas {
            font-size: 18px;
        }

        .tool-button .fa, .tool-button .fas {
            font-size: 18px;
        }

        .model-chip .fa, .model-chip .fas {
            font-size: 14px;
        }

        .send-button .fa, .send-button .fas {
            font-size: 16px;
        }

        /* 移动端优化 */
        @media (max-width: 768px) {
            .header-title {
                font-size: 0.95rem;
            }

            .header-subtitle {
                font-size: 0.7rem;
            }

            .header-btn {
                font-size: 1.2rem;
            }

            .message {
                padding: 0.3rem 0;
            }

            .message-content {
                font-size: 0.9rem;
                padding: 0.6rem 0.85rem;
            }

            .chat-input {
                font-size: 16px; /* 防止iOS自动缩放 */
            }

            .stock-data, .chart-container {
                padding: 0.75rem;
                margin-top: 0.75rem;
            }

            /* 登录表单移动端优化 */
            .modal-content {
                padding: 1.5rem;
                max-height: 85vh;
                max-height: 85dvh;
            }

            .modal-header {
                font-size: 1.15rem;
                margin-bottom: 1.25rem;
            }

            .form-group {
                margin-bottom: 0.75rem;
            }

            .form-group input {
                padding: 0.65rem;
                font-size: 16px; /* 防止iOS自动缩放 */
            }

            .disclaimer {
                margin-top: 0.875rem;
                padding: 0.75rem;
                font-size: 0.75rem;
            }

            .modal-buttons {
                margin-top: 1.25rem;
            }
        }

        /* 超小屏幕 */
        @media (max-width: 375px) {
            .message-content {
                font-size: 0.875rem;
            }

            .msg-btn {
                width: 26px;
                height: 26px;
                font-size: 0.85rem;
            }
        }

        /* 滚动条样式 */
        .chat-messages::-webkit-scrollbar {
            width: 6px;
        }

        .chat-messages::-webkit-scrollbar-track {
            background: transparent;
        }

        .chat-messages::-webkit-scrollbar-thumb {
            background: rgba(0, 0, 0, 0.2);
            border-radius: 3px;
        }

        .chat-messages::-webkit-scrollbar-thumb:hover {
            background: rgba(0, 0, 0, 0.3);
        }

