:root {
            /* 风格1：现代极简 */
            --bg-body: #eef2f5;
            --shell-bg: #ffffff;
            --shell-border: #e4e7eb;
            --header-bg: rgba(255, 255, 255, 0.65);
            --header-text: #1d1d1f;
            --chat-bg: #f5f5f7;
            
            /* 消息气泡颜色 */
            --msg-left-bg: #ffffff;
            --msg-left-text: #1d1d1f;
            --msg-right-bg: #007aff;
            --msg-right-text: #ffffff;
            
            /* 控制栏 */
            --footer-bg: rgba(255, 255, 255, 0.55);
            --footer-btn-text: #333;
            --footer-btn-hover: rgba(0,0,0,0.05);
            --footer-play-bg: #1d1d1f;
            --footer-play-text: #ffffff;
            
            --menu-bg: rgba(255, 255, 255, 0.85);

            --radius-bubble: 20px;
            --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        }

        /* 风格2：清新拟物 */
        .lgnewui-chat-device[data-theme="theme2"] {
            --bg-body: #e8ecef;
            --shell-bg: #f7f7f7;
            --shell-border: #d1d5db;
            --header-bg: rgba(247, 247, 247, 0.65);
            --header-text: #333333;
            --chat-bg: #ededed;
            
            /* 消息气泡颜色 */
            --msg-left-bg: #ffffff;
            --msg-left-text: #333333;
            --msg-right-bg: #95ec69;
            --msg-right-text: #000000;
            
            /* 控制栏 (禁止出现绿色) */
            --footer-bg: rgba(250, 250, 250, 0.55);
            --footer-btn-text: #333;
            --footer-play-bg: #1d1d1f; 
            --footer-play-text: #ffffff;
            
            --menu-bg: rgba(250, 250, 250, 0.85);

            --radius-bubble: 8px;
        }

        /* 聊天页居中容器 */
        .lgnewui-chat-wrapper {
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
            padding: 50px 0;
        }

        /* 模拟设备外壳 */
        .lgnewui-chat-device {
            width: 95vw;
            height: 90vh;
            max-width: 420px;
            max-height: 850px;
            background: var(--shell-bg);
            border: none;
            border-radius: 24px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.08), 0 0 1px rgba(0,0,0,0.05); /* 移除实线边框，改用极其柔和的弥散阴影防脏 */
            position: relative;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        @media (min-width: 1024px) {
            .lgnewui-chat-device {
                max-width: 900px;
                max-height: 700px;
            }
        }

        /* --- 顶部导航栏 --- */
        .lgnewui-chat-header {
            height: 80px;
            padding: 0 20px;
            background: var(--header-bg);
            backdrop-filter: blur(25px) saturate(180%);
            -webkit-backdrop-filter: blur(25px) saturate(180%);
            display: flex;
            align-items: center;
            justify-content: space-between;
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            z-index: 50;
            border-bottom: 1px solid rgba(0,0,0,0.05);
        }

        /* 顶部左侧信息 (居左) */
        .lgnewui-chat-header-info {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .lgnewui-chat-header-info .lgnewui-chat-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
        }

        .lgnewui-chat-user-info { display: flex; flex-direction: column; align-items: flex-start; }
        .lgnewui-chat-user-name { font-size: 16px; font-weight: 600; line-height: 1.2; }
        .lgnewui-chat-user-status { font-size: 12px; color: #8e8e93; display: flex; align-items: center; gap: 4px; margin-top: 2px;}
        .lgnewui-chat-status-dot { width: 8px; height: 8px; background: #34c759; border-radius: 50%; }

        .lgnewui-chat-header-icon {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            border-radius: 50%;
            color: var(--header-text);
            font-size: 24px;
            transition: background 0.2s, transform 0.2s;
            position: relative;
        }

        .lgnewui-chat-header-icon:active { transform: scale(0.9); }
        .lgnewui-chat-header-icon:hover { background: rgba(0,0,0,0.05); }

        /* --- 自定义下拉菜单 (修复动画) --- */
        .lgnewui-chat-dropdown-menu {
            position: absolute;
            top: 86px;
            right: 20px;
            z-index: 100;
            background: var(--menu-bg);
            backdrop-filter: blur(25px) saturate(180%);
            -webkit-backdrop-filter: blur(25px) saturate(180%);
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            width: max-content;
            min-width: 160px;
            padding: 8px;
            opacity: 0;
            pointer-events: none;
            transform: translateY(-10px);
            transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            transform-origin: top right;
            border: 1px solid rgba(0,0,0,0.05);
        }
        
        .lgnewui-chat-dropdown-menu.show {
            opacity: 1;
            pointer-events: auto;
            transform: translateY(0);
        }

        .lgnewui-chat-menu-item {
            padding: 12px 16px;
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 14px;
            color: var(--header-text);
            cursor: pointer;
            border-radius: 10px;
            transition: background 0.2s;
            font-weight: 500;
            white-space: nowrap;
        }

        .lgnewui-chat-menu-item:hover { background: rgba(0,0,0,0.05); }
        .lgnewui-chat-menu-item i { font-size: 18px; opacity: 0.8; }
        .lgnewui-chat-menu-divider { height: 1px; background: rgba(0,0,0,0.06); margin: 6px 0; }
        .lgnewui-chat-menu-item.danger { color: #ff3b30; }

        /* --- 聊天区域 --- */
        .lgnewui-chat-container {
            flex: 1;
            background: var(--chat-bg);
            padding: 100px 16px 120px; /* 留出底部空间以便透过毛玻璃看消息 */
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 20px;
            scroll-behavior: smooth;
        }
        .lgnewui-chat-container::-webkit-scrollbar { width: 0; }

        /* --- 系统声明条 --- */
        .lgnewui-chat-system-notice {
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 24px 16px 8px;
            gap: 10px;
        }
        .lgnewui-chat-system-notice::before,
        .lgnewui-chat-system-notice::after {
            content: '';
            flex: 1;
            height: 1px;
            background: linear-gradient(to right, transparent, rgba(0,0,0,0.1));
        }
        .lgnewui-chat-system-notice::after {
            background: linear-gradient(to left, transparent, rgba(0,0,0,0.1));
        }
        .lgnewui-chat-system-notice span {
            font-size: 11px;
            color: #a1a1a6;
            letter-spacing: 0.5px;
            white-space: nowrap;
            padding: 4px 10px;
            background: rgba(0,0,0,0.04);
            border-radius: 20px;
        }

        /* --- 消息行动画与样式 (更柔和的动画，去除了阴影) --- */
        .lgnewui-chat-msg-row {
            display: flex;
            align-items: flex-end;
            gap: 8px;
            max-width: 88%;
            opacity: 0;
        }

        .lgnewui-chat-msg-row.left { 
            align-self: flex-start;
            transform-origin: bottom left;
            animation: messagePopLeft 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
        }
        
        .lgnewui-chat-msg-row.right { 
            align-self: flex-end; 
            flex-direction: row-reverse; 
            transform-origin: bottom right;
            animation: messagePopRight 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
        }

        @keyframes messagePopLeft {
            0% { opacity: 0; transform: scale(0.9) translateY(10px); }
            100% { opacity: 1; transform: scale(1) translateY(0); }
        }

        @keyframes messagePopRight {
            0% { opacity: 0; transform: scale(0.9) translateY(10px); }
            100% { opacity: 1; transform: scale(1) translateY(0); }
        }

        .lgnewui-chat-avatar {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            object-fit: cover;
            flex-shrink: 0;
        }

        /* 彻底移除气泡阴影 */
        .lgnewui-chat-bubble {
            padding: 10px 16px;
            font-size: 15px;
            line-height: 1.5;
            border-radius: var(--radius-bubble);
            position: relative;
            word-break: break-word;
            transition: transform 0.1s;
        }

        .lgnewui-chat-msg-row.left .lgnewui-chat-bubble {
            background: var(--msg-left-bg);
            color: var(--msg-left-text);
            border-bottom-left-radius: 4px;
        }

        .lgnewui-chat-msg-row.right .lgnewui-chat-bubble {
            background: var(--msg-right-bg);
            color: var(--msg-right-text);
            border-bottom-right-radius: 4px;
        }

        /* 正在输入动画 */
        .lgnewui-chat-typing-indicator {
            display: flex;
            align-items: center;
            gap: 4px;
            height: 24px;
            padding: 0 12px;
        }
        .lgnewui-chat-typing-dot {
            width: 6px; height: 6px;
            background: currentColor;
            opacity: 0.4;
            border-radius: 50%;
            animation: typingBounce 1.4s infinite ease-in-out;
        }
        .lgnewui-chat-typing-dot:nth-child(1) { animation-delay: -0.32s; }
        .lgnewui-chat-typing-dot:nth-child(2) { animation-delay: -0.16s; }
        
        @keyframes typingBounce {
            0%, 80%, 100% { transform: scale(0); opacity: 0.5; }
            40% { transform: scale(1); opacity: 1; }
        }

        /* --- 媒体样式优化 (移除阴影) --- */
        .lgnewui-chat-media-img {
            max-width: 200px;
            border-radius: 14px;
            display: block;
            cursor: zoom-in;
            border: 1px solid rgba(0,0,0,0.05);
            transition: transform 0.2s;
        }
        .lgnewui-chat-media-img:active { transform: scale(0.95); }

        /* 视频容器与完美居中的实心播放按钮 */
        .lgnewui-chat-media-video {
            width: 220px;
            height: 150px;
            background: #000;
            border-radius: 14px;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            cursor: pointer;
            transition: transform 0.2s;
        }
        .lgnewui-chat-media-video:active { transform: scale(0.95); }
        .lgnewui-chat-media-video img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.8;
            transition: opacity 0.3s;
        }
        .lgnewui-chat-media-video:hover img { opacity: 0.6; }

        /* 视频播放按钮（与相册风格统一：半透明毛玻璃 + 白色图标） */
        .lgnewui-chat-play-btn-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 48px;
            height: 48px;
            background: rgba(0, 0, 0, 0.45);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2;
            transition: all 0.25s ease;
        }
        .lgnewui-chat-media-video:hover .lgnewui-chat-play-btn-overlay {
            background: rgba(0, 0, 0, 0.65);
            transform: translate(-50%, -50%) scale(1.1);
        }
        
        .lgnewui-chat-media-play-icon {
            font-size: 20px;
            color: #fff;
            margin-left: 2px; 
        }

        /* 语音消息 */
        .lgnewui-chat-voice-msg {
            display: flex;
            align-items: center;
            gap: 12px;
            cursor: pointer;
            user-select: none;
            min-width: 90px;
            transition: transform 0.1s;
        }
        .lgnewui-chat-voice-msg:active { transform: scale(0.98); }
        .lgnewui-chat-voice-icon { display: flex; align-items: center; flex-shrink: 0; }
        .lgnewui-chat-voice-icon svg { width: 24px; height: 24px; fill: currentColor; }
        .lgnewui-chat-voice-waves { display: flex; align-items: center; gap: 3px; height: 16px; }
        .lgnewui-chat-voice-waves span { width: 3px; background: currentColor; border-radius: 2px; opacity: 0.6; }
        .lgnewui-chat-voice-waves span:nth-child(1) { height: 6px; }
        .lgnewui-chat-voice-waves span:nth-child(2) { height: 14px; }
        .lgnewui-chat-voice-waves span:nth-child(3) { height: 8px; }
        .lgnewui-chat-voice-waves span:nth-child(4) { height: 16px; }
        .lgnewui-chat-voice-waves span:nth-child(5) { height: 5px; }
        
        .lgnewui-chat-voice-msg.playing .lgnewui-chat-voice-waves span {
            animation: waveBounce 0.5s infinite alternate;
        }
        .lgnewui-chat-voice-msg.playing .lgnewui-chat-voice-waves span:nth-child(2) { animation-delay: 0.1s; }
        .lgnewui-chat-voice-msg.playing .lgnewui-chat-voice-waves span:nth-child(3) { animation-delay: 0.2s; }
        .lgnewui-chat-voice-msg.playing .lgnewui-chat-voice-waves span:nth-child(4) { animation-delay: 0.3s; }
        @keyframes waveBounce { 0% { transform: scaleY(0.5); } 100% { transform: scaleY(1.2); } }
        
        .lgnewui-chat-voice-time { font-size: 14px; opacity: 0.9; font-variant-numeric: tabular-nums; font-weight: 500; }

        /* --- 底部悬浮控制台 (明显磨砂，无绿色) --- */
        .lgnewui-chat-controls-wrapper {
            position: absolute;
            bottom: 24px;
            left: 0; right: 0;
            display: flex;
            justify-content: center;
            pointer-events: none;
            z-index: 60;
        }

        .lgnewui-chat-controls {
            width: auto;
            min-width: 250px;
            height: 52px;
            background: var(--footer-bg);
            /* 增强毛玻璃效果 */
            backdrop-filter: blur(25px) saturate(180%);
            -webkit-backdrop-filter: blur(25px) saturate(180%);
            border-radius: 26px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 6px;
            border: 1px solid rgba(255,255,255,0.4);
            pointer-events: auto;
            gap: 2px;
        }

        .lgnewui-chat-ctrl-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: var(--footer-btn-text);
            font-size: 20px;
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            user-select: none;
        }

        .lgnewui-chat-ctrl-btn:active { transform: scale(0.85); background: rgba(0,0,0,0.1); }
        .lgnewui-chat-ctrl-btn:hover { background: var(--footer-btn-hover); }

        /* 重新设计的倍速按钮，干净文字无冗余边框 */
        .lgnewui-chat-speed-btn-text {
            font-size: 14px;
            font-weight: 700;
            font-family: -apple-system, monospace;
            color: var(--footer-btn-text);
        }

        /* 中心的核心播放/暂停键 */
        .lgnewui-chat-ctrl-btn.lgnewui-chat-play-btn {
            width: 44px;
            height: 44px;
            background: var(--footer-play-bg);
            color: var(--footer-play-text);
            font-size: 22px;
            margin: 0 6px;
        }
        .lgnewui-chat-ctrl-btn.lgnewui-chat-play-btn:active { transform: scale(0.9); }
        .lgnewui-chat-ctrl-btn.lgnewui-chat-play-btn:hover { opacity: 0.9; background: var(--footer-play-bg); color: var(--footer-play-text);}
        
        /* 暂停时变为粉色脉冲 */
        .lgnewui-chat-ctrl-btn.lgnewui-chat-play-btn.paused {
            background: #ff2d55;
            color: #ffffff;
            animation: pulse-pink 2s infinite;
        }
        @keyframes pulse-pink {
            0% { box-shadow: 0 0 0 0 rgba(255, 45, 85, 0.4); }
            70% { box-shadow: 0 0 0 10px rgba(255, 45, 85, 0); }
            100% { box-shadow: 0 0 0 0 rgba(255, 45, 85, 0); }
        }

        /* --- 导出长图弹窗 --- */

        /* ====== 亮色毛玻璃遮罩 ====== */
        .lgnewui-chat-overlay-backdrop {
            position: fixed;
            inset: 0;
            background: rgba(247, 247, 249, 0.65);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            z-index: 99999;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* 激活态：主页面模糊 + 遮罩显现 + 面板弹入 */
        body.lgnewui-chat-is-exporting .lgnewui-chat-overlay-backdrop {
            opacity: 1;
            pointer-events: auto;
        }
        body.lgnewui-chat-is-exporting .lgnewui-chat-device {
            filter: blur(4px) brightness(0.96);
            transform: scale(0.98);
            transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }

        /* ====== 面板容器 ====== */
        .lgnewui-chat-export-panel {
            width: min(340px, 88vw);
            background: #FFFFFF;
            border-radius: 24px;
            border: none;
            box-shadow: none;
            transform: translateY(20px) scale(0.98);
            opacity: 0;
            transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
            overflow: hidden;
            position: relative;
            height: 480px;
        }
        body.lgnewui-chat-is-exporting .lgnewui-chat-export-panel {
            transform: translateY(0) scale(1);
            opacity: 1;
        }

        /* 面板内部容器（绝对定位实现无缝状态切换） */
        .lgnewui-chat-panel-content {
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            padding: 32px 24px;
            display: flex;
            flex-direction: column;
            transition: opacity 0.5s cubic-bezier(0.65, 0, 0.35, 1), visibility 0.5s;
        }
        .lgnewui-chat-hidden-state {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }

        /* ====== 状态 A：生成中（骨架屏） ====== */
        .lgnewui-chat-state-generating {
            align-items: center;
            justify-content: center;
            text-align: center;
        }

        /* 骨架屏：模拟气泡排版 */
        .lgnewui-chat-skeleton-chat {
            width: 160px;
            height: 260px;
            background: #F4F5F7;
            border-radius: 12px;
            margin-bottom: 24px;
            padding: 16px 12px;
            display: flex;
            flex-direction: column;
            gap: 16px;
            overflow: hidden;
        }
        .lgnewui-chat-sk-row {
            display: flex;
            flex-direction: column;
            width: 100%;
        }
        .lgnewui-chat-sk-row.sk-other { align-items: flex-start; }
        .lgnewui-chat-sk-row.sk-self { align-items: flex-end; }
        .lgnewui-chat-sk-bubble {
            height: 26px;
            border-radius: 12px;
            background: #EAEBEE;
            position: relative;
            overflow: hidden;
        }
        .lgnewui-chat-sk-row.sk-other .lgnewui-chat-sk-bubble { border-bottom-left-radius: 4px; }
        .lgnewui-chat-sk-row.sk-self .lgnewui-chat-sk-bubble { border-bottom-right-radius: 4px; background: #E2E8F0; }
        .lgnewui-chat-sk-media { height: 60px; border-radius: 8px; }

        /* 骨架屏光影扫过动画 */
        .lgnewui-chat-sk-bubble::after {
            content: '';
            position: absolute;
            top: 0; left: -150%;
            width: 150%; height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
            animation: chatExportShimmer 1.5s infinite ease-in-out;
        }
        @keyframes chatExportShimmer {
            0% { left: -150%; }
            100% { left: 100%; }
        }

        /* 加载旋转图标 */
        .lgnewui-chat-icon-spin {
            animation: exportSpin 1s linear infinite;
            color: #5C6370;
        }
        @keyframes exportSpin { 100% { transform: rotate(360deg); } }

        /* 文案区域 */
        .lgnewui-chat-gen-title-wrapper {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-bottom: 8px;
        }
        .lgnewui-chat-gen-title-wrapper i { font-size: 16px; }
        .lgnewui-chat-gen-title {
            font-size: 16px; font-weight: 500; color: #1C1E21;
            transition: opacity 0.3s;
        }
        .lgnewui-chat-gen-subtitle {
            font-size: 13px; color: #A0A5B1;
            transition: opacity 0.3s;
        }

        /* ====== 状态 B：预览（作品感） ====== */
        .lgnewui-chat-state-preview {
            justify-content: space-between;
        }

        /* 预览头部 */
        .lgnewui-chat-preview-header {
            text-align: center;
            margin-bottom: 20px;
        }
        .lgnewui-chat-preview-header h2 {
            font-size: 18px; font-weight: 600; color: #1C1E21; margin-bottom: 4px;
        }
        .lgnewui-chat-preview-header p {
            font-size: 13px; color: #A0A5B1;
        }

        /* 预览缩略图 */
        .lgnewui-chat-preview-thumbnail-wrapper {
            flex: 1;
            background: #F4F5F7;
            border: none;
            border-radius: 16px;
            padding: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 28px;
            position: relative;
            overflow: hidden;
        }
        .lgnewui-chat-scroll-window {
            width: 140px;
            height: 220px;
            border-radius: 8px;
            overflow: hidden;
            background: #FFFFFF;
            position: relative;
        }
        .lgnewui-chat-scrolling-img {
            width: 100%;
            height: auto;
            display: block;
            animation: chatExportScrollLoop 14s ease-in-out infinite;
        }
        @keyframes chatExportScrollLoop {
            0%   { transform: translateY(0); }
            10%  { transform: translateY(0); }
            45%  { transform: translateY(calc(-100% + 220px)); }
            55%  { transform: translateY(calc(-100% + 220px)); }
            90%  { transform: translateY(0); }
            100% { transform: translateY(0); }
        }

        /* 角标 */
        .lgnewui-chat-preview-badge {
            position: absolute;
            bottom: 12px; right: 12px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 6px;
            padding: 4px 8px;
            display: flex;
            align-items: center;
            gap: 4px;
            color: #5C6370;
            font-size: 11px; font-weight: 500;
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
        }
        .lgnewui-chat-preview-badge i { font-size: 12px; }

        /* 操作按钮 */
        .lgnewui-chat-actions-group {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .lgnewui-chat-export-btn {
            width: 100%;
            height: 44px;
            border-radius: 28px;
            font-size: 14px; font-weight: 500;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            cursor: pointer;
            transition: all 0.2s;
            border: none;
            outline: none;
        }
        .lgnewui-chat-export-btn-primary {
            background-color: #1C1E21;
            color: #FFFFFF;
        }
        .lgnewui-chat-export-btn-primary:active {
            filter: brightness(0.95);
            transform: scale(0.98);
        }
        .lgnewui-chat-export-btn-primary:disabled {
            background-color: #1C1E21;
            color: #FFFFFF;
            opacity: 0.75;
            cursor: not-allowed;
        }

        /* 右上角关闭按钮 */
        .lgnewui-chat-export-close-btn {
            position: absolute;
            top: 20px; right: 20px;
            width: 32px; height: 32px;
            border-radius: 50%;
            background: transparent;
            border: none;
            color: #A0A5B1;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background 0.2s, color 0.2s;
            z-index: 10;
            font-size: 18px;
        }
        .lgnewui-chat-export-close-btn:hover {
            background: #F4F5F7;
            color: #5C6370;
        }

        /* 长图生成离线区 */
        #poster-export-zone {
            position: absolute; top: -9999px; left: 0;
            width: 420px; background: var(--chat-bg);
            padding: 30px 20px; box-sizing: border-box;
            border-radius: 0; /* 截图时不需要大圆角 */
            font-family: var(--font-family);
        }
        .lgnewui-chat-poster-header-box { text-align: center; margin-bottom: 30px; }
        .lgnewui-chat-poster-title { font-size: 24px; font-weight: bold; color: var(--header-text); }
        .lgnewui-chat-poster-date { font-size: 14px; color: #888; margin-top: 6px; }
        
        .lgnewui-chat-poster-footer-box { 
            text-align: center; 
            margin-top: 50px; 
            padding: 30px 20px 10px; 
            position: relative; 
        }
        .lgnewui-chat-poster-footer-box::before { 
            content: ''; 
            position: absolute; 
            top: 0; 
            left: 50%; 
            transform: translateX(-50%); 
            width: 40px; 
            height: 1px; 
            background: rgba(0,0,0,0.1); 
        }
        .lgnewui-chat-footer-quote { 
            font-size: 15px; 
            color: var(--header-text); 
            letter-spacing: 2px; 
            margin-bottom: 8px; 
            font-weight: 500; 
        }
        .lgnewui-chat-footer-brand { 
            font-size: 11px; 
            color: #a1a1a6; 
            letter-spacing: 2px; 
            text-transform: uppercase; 
        }