/**
 * 斑馬龙虾 AI 聊天组件样式表
 * 主题色：龙虾红 #FF6B35
 * 包含：悬浮小窗、独立全页、弹窗、响应式适配
 */

/* ==================== 悬浮聊天小窗 ==================== */

/* 小窗主容器：固定右下角，默认隐藏（通过 active 类控制显示） */
.chat-widget-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 360px;
    height: 500px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 99999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

/* 小窗展开状态 */
.chat-widget-container.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* 小窗头部：渐变背景，包含头像、标题、控制按钮 */
.chat-widget-header {
    background: linear-gradient(135deg, #FF6B35, #FF8C42);
    color: #fff;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.chat-widget-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 小窗头像 */
.chat-widget-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.chat-widget-title {
    font-size: 15px;
    font-weight: 600;
}

/* 小窗头部“监督龙虾”跳转按钮：毛玻璃效果 */
.chat-widget-supervise-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: transform 0.2s;
    margin-left: 2px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.chat-widget-supervise-btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.25);
}

.chat-widget-supervise-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: #fff;
}

.chat-widget-header-right {
    display: flex;
    gap: 8px;
}

/* 头部控制按钮：最小化、关闭 */
.chat-widget-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s;
}

.chat-widget-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ==================== 小窗操作按钮区 ==================== */

/* 操作按钮区容器 */
.chat-widget-actions {
    display: flex;
    gap: 6px;
    padding: 10px 12px;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
    align-items: center;
}

/* 简化版操作按钮区：小窗中实际使用的布局（左对齐，按钮自动宽度） */
.chat-widget-actions-simple {
    justify-content: flex-start;
    gap: 8px;
}

.chat-widget-actions-simple .chat-widget-action-btn {
    flex: 0 0 auto;
    padding: 6px 14px;
}

/* 标签文字 */
.chat-widget-label {
    font-size: 11px;
    color: #999;
    white-space: nowrap;
    font-weight: 500;
}

/* 选择按钮组：单选框样式（当前小窗 DOM 中未实际使用，仅样式保留） */
.chat-widget-select-group {
    display: flex;
    gap: 6px;
    flex: 1;
}

.chat-widget-select-btn {
    flex: 1;
    padding: 5px 8px;
    border: 1px solid #d0d0d0;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 12px;
    color: #888;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    position: relative;
    padding-left: 18px;
}

/* 单选圆圈 */
.chat-widget-select-btn::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border: 1.5px solid #bbb;
    border-radius: 50%;
    background: #fff;
    transition: all 0.2s;
}

.chat-widget-select-btn:hover {
    border-color: #FF6B35;
    color: #666;
    background: #fafafa;
}

.chat-widget-select-btn:hover::before {
    border-color: #FF6B35;
}

.chat-widget-select-btn.active {
    background: #FFF5F0;
    border-color: #FF6B35;
    color: #FF6B35;
    font-weight: 500;
}

.chat-widget-select-btn.active::before {
    border-color: #FF6B35;
    background: #FF6B35;
}

/* 竖向分隔线 */
.chat-widget-divider {
    width: 1px;
    height: 24px;
    background: linear-gradient(to bottom, transparent, #ccc, transparent);
    margin: 0 6px;
}

/* 通用操作按钮：新会话、打开大窗、留言 */
.chat-widget-action-btn {
    flex: 1;
    padding: 6px 10px;
    border: 1px solid #e0e0e0;
    background: #fff;
    border-radius: 6px;
    font-size: 12px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.chat-widget-action-btn:hover {
    border-color: #FF6B35;
    color: #FF6B35;
}

/* ==================== 消息展示区域 ==================== */

/* 小窗消息区：可滚动，flex 布局纵向排列 */
.chat-widget-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 消息气泡容器 */
.chat-message {
    display: flex;
    gap: 10px;
    max-width: 85%;
}

/* 用户消息：右对齐，反向排列 */
.chat-message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

/* 消息头像 */
.chat-message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* 消息内容体 */
.chat-message-content {
    background: #fff;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    white-space: pre-wrap;
    word-break: break-word;
}

/* 机器人消息内容：浅色背景，左下角尖角 */
.chat-message.bot .chat-message-content {
    background: #FFF5F0;
    border-bottom-left-radius: 4px;
}

/* 用户消息内容：主题色背景，白色文字，右下角尖角 */
.chat-message.user .chat-message-content {
    background: #FF6B35;
    color: #fff;
    border-bottom-right-radius: 4px;
}

/* 消息时间戳 */
.chat-message-meta {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
}

.chat-message.user .chat-message-meta {
    text-align: right;
}

/* 时间分隔线（如"今天"） */
.chat-time-divider {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin: 8px 0;
    position: relative;
}

.chat-time-divider::before,
.chat-time-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 1px;
    background: #e0e0e0;
}

.chat-time-divider::before {
    left: 20px;
}

.chat-time-divider::after {
    right: 20px;
}

/* ==================== 输入区域 ==================== */

/* 小窗输入区 */
.chat-widget-input-area {
    padding: 12px 16px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.chat-widget-input-wrap {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

/* 多行输入框：自动增高，最大高度 100px */
.chat-widget-input {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    resize: none;
    outline: none;
    font-family: inherit;
    min-height: 40px;
    max-height: 100px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.chat-widget-input:focus {
    border-color: #FF6B35;
}

/* 发送按钮 */
.chat-widget-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FF6B35;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.chat-widget-send-btn:hover {
    background: #E55A2B;
    transform: scale(1.05);
}

.chat-widget-send-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* ==================== 悬浮触发按钮 ==================== */

/* 右下角圆形触发按钮：点击后展开小窗 */
.chat-widget-trigger {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.8), rgba(255, 140, 66, 0.8));
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.35);
    z-index: 99998;
    transition: all 0.3s ease;
}

.chat-widget-trigger:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.45);
}

.chat-widget-trigger img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

/* 小窗展开后隐藏触发按钮 */
.chat-widget-trigger.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
}

/* ==================== 气泡提示 ==================== */

/* 气泡提示：位于触发按钮上方，含关闭按钮和倒计时 */
.chat-bubble-tip {
    position: fixed;
    bottom: 148px;
    right: 20px;
    max-width: 260px;
    padding: 14px 16px 8px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.8), rgba(255, 140, 66, 0.8));
    color: #fff;
    font-size: 13px;
    line-height: 1.5;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.25);
    z-index: 99997;
    animation: bubbleFadeIn 0.5s ease;
    cursor: pointer;
}

/* 气泡右上角 × 关闭按钮 */
.chat-bubble-close {
    position: absolute;
    top: 4px;
    right: 6px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    padding: 2px 4px;
    transition: color 0.2s;
}

.chat-bubble-close:hover {
    color: #fff;
}

/* 气泡正文文字区域 */
.chat-bubble-text {
    display: block;
    padding-right: 20px;
}

/* 气泡倒计时显示 */
.chat-bubble-countdown {
    display: block;
    text-align: right;
    font-size: 11px;
    opacity: 0.6;
    margin-top: 6px;
    letter-spacing: 0.5px;
}

/* 气泡底部三角箭头，指向触发按钮 */
.chat-bubble-tip::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 30px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid rgba(255, 140, 66, 0.8);
}

/* 气泡淡入动画 */
@keyframes bubbleFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 气泡淡出动画 */
.chat-bubble-tip.fade-out {
    animation: bubbleFadeOut 0.3s ease forwards;
    pointer-events: none;
}

@keyframes bubbleFadeOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }
}

/* ==================== 加载动画 ==================== */

/* 机器人回复中的加载状态 */
.chat-message.loading .chat-message-content {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 14px 16px;
}

/* 三个跳动圆点 */
.chat-loading-dot {
    width: 8px;
    height: 8px;
    background: #FF6B35;
    border-radius: 50%;
    animation: chatLoading 1.4s infinite ease-in-out both;
}

.chat-loading-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.chat-loading-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes chatLoading {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/* ==================== 滚动条美化 ==================== */

.chat-widget-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-widget-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-widget-messages::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

.chat-widget-messages::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

/* ==================== 独立全页聊天 ==================== */

/* 全页容器：占满整个视口 */
.chat-full-page {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    z-index: 100000;
}

/* 全页内容区：居中，最大宽度 900px */
.chat-full-container {
    max-width: 900px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    background: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
}

/* 全页头部 */
.chat-full-header {
    background: linear-gradient(135deg, #FF6B35, #FF8C42);
    color: #fff;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-full-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 全页头像 */
.chat-full-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.chat-full-title {
    font-size: 18px;
    font-weight: 600;
}

.chat-full-subtitle {
    font-size: 13px;
    opacity: 0.9;
}

/* 全页头部跳转按钮：监督龙虾（位于副标题右侧，毛玻璃风格）*/
.chat-full-supervise-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 18px;
    text-decoration: none;
    letter-spacing: 0.5px;
    cursor: pointer;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

.chat-full-supervise-btn:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
}

.chat-full-supervise-btn:active {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.22);
}

.chat-full-supervise-icon {
    flex-shrink: 0;
    opacity: 0.95;
}

/* 全页关闭按钮 */
.chat-full-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.chat-full-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 全页操作按钮区 */
.chat-full-actions {
    display: flex;
    gap: 10px;
    padding: 12px 24px;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

/* 全页标签文字 */
.chat-full-label {
    font-size: 13px;
    color: #999;
    white-space: nowrap;
    font-weight: 500;
}

/* 全页选择按钮组 */
.chat-full-select-group {
    display: flex;
    gap: 10px;
    flex: 1;
}

.chat-full-select-btn {
    flex: 1;
    padding: 6px 14px;
    border: 1px solid #d0d0d0;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 14px;
    color: #888;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    position: relative;
    padding-left: 28px;
}

/* 全页单选圆圈 */
.chat-full-select-btn::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border: 2px solid #bbb;
    border-radius: 50%;
    background: #fff;
    transition: all 0.2s;
}

.chat-full-select-btn:hover {
    border-color: #FF6B35;
    color: #666;
    background: #fafafa;
}

.chat-full-select-btn:hover::before {
    border-color: #FF6B35;
}

.chat-full-select-btn.active {
    background: #FFF5F0;
    border-color: #FF6B35;
    color: #FF6B35;
    font-weight: 500;
}

.chat-full-select-btn.active::before {
    border-color: #FF6B35;
    background: #FF6B35;
}

/* 全页分隔线 */
.chat-full-divider {
    width: 1px;
    height: 28px;
    background: linear-gradient(to bottom, transparent, #ccc, transparent);
    margin: 0 10px;
}

/* 全页功能按钮 */
.chat-full-action-btn {
    padding: 8px 20px;
    border: 1px solid #e0e0e0;
    background: #fff;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.chat-full-action-btn:hover {
    border-color: #FF6B35;
    color: #FF6B35;
}

/* 全页消息区 */
.chat-full-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 全页输入区 */
.chat-full-input-area {
    padding: 16px 24px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.chat-full-input-wrap {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

/* 全页输入框：最大高度 120px */
.chat-full-input {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    padding: 12px 20px;
    font-size: 15px;
    resize: none;
    outline: none;
    font-family: inherit;
    min-height: 48px;
    max-height: 120px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.chat-full-input:focus {
    border-color: #FF6B35;
}

/* 全页发送按钮 */
.chat-full-send-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FF6B35;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.chat-full-send-btn:hover {
    background: #E55A2B;
    transform: scale(1.05);
}

.chat-full-send-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* ==================== 头像点击放大 ==================== */

.chat-message-avatar,
.chat-full-avatar,
.chat-widget-avatar {
    cursor: zoom-in;
    transition: transform 0.2s;
}

.chat-message-avatar:hover,
.chat-full-avatar:hover,
.chat-widget-avatar:hover {
    transform: scale(1.05);
}

/* ==================== 确认弹窗（新会话） ==================== */

.chat-confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100002;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.chat-confirm-modal.active {
    opacity: 1;
    visibility: visible;
}

.chat-confirm-dialog {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    max-width: 360px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.chat-confirm-modal.active .chat-confirm-dialog {
    transform: scale(1);
}

.chat-confirm-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.chat-confirm-message {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.chat-confirm-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.chat-confirm-btn {
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.chat-confirm-btn.cancel {
    background: #f5f5f5;
    color: #666;
}

.chat-confirm-btn.cancel:hover {
    background: #e8e8e8;
}

.chat-confirm-btn.confirm {
    background: #FF6B35;
    color: #fff;
}

.chat-confirm-btn.confirm:hover {
    background: #E55A2B;
}

/* ==================== 图片放大弹窗 ==================== */

.chat-image-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: zoom-out;
}

.chat-image-modal.active {
    opacity: 1;
    visibility: visible;
}

.chat-image-modal img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.chat-image-modal.active img {
    transform: scale(1);
}

/* ==================== 响应式适配（移动端） ==================== */

@media (max-width: 768px) {
    /* 小窗占满屏幕宽度 */
    .chat-widget-container {
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
    }

    /* 气泡提示移动端适配 */
    .chat-bubble-tip {
        max-width: 200px;
        right: 10px;
        bottom: 148px;
        font-size: 12px;
        padding: 12px 12px 6px;
    }

    .chat-bubble-tip::after {
        right: 25px;
    }

    .chat-bubble-close {
        top: 2px;
        right: 4px;
        font-size: 13px;
    }

    .chat-bubble-text {
        padding-right: 16px;
    }

    .chat-bubble-countdown {
        font-size: 10px;
        margin-top: 4px;
    }

    /* 全页取消最大宽度限制 */
    .chat-full-container {
        max-width: 100%;
    }

    /* 移动端：中央跳转按钮缩小并自适应 */
    .chat-full-supervise-btn {
        padding: 5px 10px;
        margin: 0 6px;
        font-size: 12px;
        gap: 4px;
        letter-spacing: 0;
    }

    .chat-full-supervise-icon {
        width: 12px;
        height: 12px;
    }

    /* 操作按钮区换行显示 */
    .chat-full-actions {
        display: flex;
        flex-wrap: wrap;
        padding: 10px 12px;
        gap: 6px;
        align-items: center;
    }

    /* 第一行：咨询标签 + 选择按钮组 */
    .chat-full-actions > .chat-full-label:first-of-type {
        width: auto;
        margin-right: 4px;
    }

    .chat-full-select-group {
        flex: 0 0 calc(100% - 3em - 4px);
        display: flex;
        gap: 4px;
    }

    .chat-full-select-btn {
        flex: 1;
        padding: 6px 2px 6px 16px;
        font-size: 11px;
    }

    /* 隐藏竖向分隔线 */
    .chat-full-divider {
        display: none;
    }

    /* 第二行：跳转标签 + 功能按钮 */
    .chat-full-actions > .chat-full-label:nth-of-type(2) {
        width: auto;
        margin-right: 4px;
    }

    .chat-full-action-btn[data-action="new-session"],
    .chat-full-action-btn[data-action="guestbook"] {
        flex: 1;
        padding: 6px 10px;
        font-size: 11px;
        border-radius: 4px;
    }
}
