
    .custom-icon {
        width: 14px;
        height: 14px;
        display: inline-block;
    }

    /* ========== 底部悬浮输入区域组件 ========== */
    .input-area-fixed {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 240px;
        right: 0;
        pointer-events: none;
        gap: 0px;
        margin-top: auto;
        z-index: 1;
    }

    /* 实际内容区域 - 悬浮卡片 */
    .input-area-fixed .input-area {
        position: relative;
        z-index: 1;
        background-color: #ffffff;
        width: 100%;
        max-width: 800px;
        border-radius: 16px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        padding: 5px;
        box-sizing: border-box;
        pointer-events: auto;
        margin: 0 auto;
        border: 1px solid #e4e4e4;
    }

    /* 文本框 */
    .input-area-fixed .text-input {
        width: 100%;
        min-height: 80px;
        max-height: 200px;
        padding: 8px 16px 2px;
        border: none;
        border-radius: 12px;
        background: #ffffff;
        color: #2f343a;
        font-size: 1rem;
        line-height: 1.6;
        resize: inherit;
        transition: border-color 0.2s, box-shadow 0.2s;
        box-sizing: border-box;
        font-family: inherit;
    }

    .input-area-fixed .text-input:focus {
        outline: none;
        border-color: #3b82f6;
    }

    .input-area-fixed .text-input::placeholder {
        color: #9ca3af;
    }

    /* 输入区域底部工具栏 */
    .input-area-fixed .input-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 0;
        flex-wrap: nowrap;
        gap: 12px;
    }

    /* 字符计数器 */
    .input-area-fixed .char-counter {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        color: #6b7280;
        background: #ffffff;
        padding: 4px 12px;
        border-radius: 30px;
        border: none;
    }

    .input-area-fixed .edit-btn {
        border: none;
        background: none;
        color: #3b82f6;
        cursor: pointer;
        font-size: 13px;
        padding: 2px 6px;
        font-size: 0.9rem;
    }

    .input-area-fixed .edit-btn:hover {
        color: #2563eb;
    }

    /* 右侧操作组 */
    .input-area-fixed .action-group {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .input-area-fixed button {
        font-family: 'Microsoft YaHei', Arial, sans-serif;
    }

    /* 模型选择按钮 */
    .input-area-fixed .model-select-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 16px;
        background: #f9fafb;
        border: none;
        border-radius: 30px;
        color: #374151;
        cursor: pointer;
        font-size: 0.9rem;
        transition: all 0.2s;
        white-space: nowrap;
    }

    .input-area-fixed .model-select-btn:hover {
        background: #f3f4f6;
        border-color: #d1d5db;
    }

    .input-area-fixed .model-select-btn i {
        color: #3b82f6;
        font-size: 16px;
    }

    /* 已选模型预览 */
    .input-area-fixed .selected-model {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 6px 16px;
        background: #eff6ff;
        border: 1px solid #3b82f6;
        border-radius: 30px;
    }

    .input-area-fixed .model-name {
        color: #1e40af;
        font-size: 1rem;
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .input-area-fixed .remove-model-btn {
        border: none;
        background: none;
        color: #ef4444;
        cursor: pointer;
        padding: 2px 6px;
        font-size: 1rem;
        display: flex;
        align-items: center;
    }

    .input-area-fixed .remove-model-btn:hover {
        color: #dc2626;
    }

    /* 下拉框占位 */
    .input-area-fixed .dropdown-btn {
        font-family: 'Microsoft YaHei', Arial, sans-serif;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 12px;
        background: #f9fafb;
        border: none;
        border-radius: 30px;
        color: #374151;
        cursor: pointer;
        font-size: 0.9rem;
        min-width: 100px;
        white-space: nowrap;
    }

    .input-area-fixed .dropdown-btn:hover {
        background: #f3f4f6;
    }

    .input-area-fixed .dropdown-btn i {
        font-size: 14px;
        color: #9ca3af;
    }

    /* 提交按钮 */
    .input-area-fixed .submit-btn {
        margin: 0 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        padding: 0;
        background: #3b82f6;
        border: none;
        border-radius: 50%;
        color: white;
        cursor: pointer;
        font-size: 18px;
        transition: background-color 0.2s, transform 0.1s;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .input-area-fixed .submit-btn:hover:not(:disabled) {
        background: #2563eb;
        transform: translateY(-1px);
    }

    .input-area-fixed .submit-btn:active:not(:disabled) {
        transform: translateY(0);
    }

    .input-area-fixed .submit-btn:disabled {
        background: #7ea8ec;
        cursor: not-allowed;
        opacity: 0.7;
    }

    .input-area-fixed .submit-btn i {
        font-size: 14px;
        margin: 0;
    }

    /* 分隔线 */
    .input-area-fixed .divider {
        height: 1px;
        background: #edf2f7;
        margin: 5px 0;
    }

    /* 功能按钮栏 */
    .input-area-fixed .function-bar {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .input-area-fixed .function-btn {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 8px 16px;
        background: #ffffff;
        border: none;
        border-radius: 30px;
        color: #374151;
        cursor: pointer;
        font-size: 0.9rem;
        transition: all 0.2s;
        white-space: nowrap;
    }

    .input-area-fixed .function-btn:hover {
        background: #f3f4f6;
        border-color: #d1d5db;
    }

    .input-area-fixed .function-btn i {
        font-size: 0.9rem;
        color: #6c757d;
    }

    /* 免责声明 */
    .input-area-fixed .disclaimer {
        background-color: #ffffff;
        text-align: center;
        font-size: 11px;
        color: #9ca3af;
        letter-spacing: 0.3px;
        padding: 4px 0;
        pointer-events: none;
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
    }

    body {
        margin: 0;
        /* padding-bottom: 220px !important; */
        /* 这个就是给底部fixed区域留空间 */
        min-height: 100vh;
        box-sizing: border-box;
    }

    /* 功能按钮样式 */
    .input-area-fixed .function-toggle-btn {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 8px 16px;
        background: #f9fafb;
        border: none;
        border-radius: 30px;
        color: #374151;
        cursor: pointer;
        font-size: 0.9rem;
        transition: all 0.2s;
        white-space: nowrap;
    }

    .input-area-fixed .function-toggle-btn:hover {
        background: #f3f4f6;
    }

    /* 功能栏初始隐藏 */
    .input-area-fixed .function-bar {
        padding-top: 4px;
        display: none;
        /* 初始隐藏 */
        gap: 8px;
        flex-wrap: wrap;
        margin-top: 8px;
    }

    /* 功能栏展开状态 */
    .input-area-fixed .function-bar.show {
        border-top: 1px solid #f1f1f1;
        display: flex;
    }

    /* 图标旋转动画 */
    .input-area-fixed .function-toggle-btn i {
        transition: transform 0.3s ease;
    }

    .input-area-fixed .function-toggle-btn.rotate i {
        transform: rotate(180deg);
    }

    /* 文本输入区域容器设为相对定位 */
    .input-area-fixed .text-input-section {
        position: relative;
    }

    /* 悬浮工具栏 - 右上角 */
    .input-area-fixed .floating-toolbar {
        position: absolute;
        top: -50px;
        /* 改为负值，悬浮在输入框上方 */
        right: 12px;
        display: none;
        align-items: center;
        gap: 8px;
        background: #ffffff;
        padding: 6px 12px;
        border-radius: 30px;
        z-index: 10;
        pointer-events: auto;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        white-space: nowrap;
    }

    .input-area-fixed .floating-toolbar.show {
        display: flex;
    }


    /* 移动端优化 */
    @media (max-width: 768px) {
        .custom-icon {
            width: 18px;
            height: 18px;
        }

        .input-area-fixed .char-count {
            color: white;
            font-size: 11px;
            font-weight: 500;
        }

        .input-area-fixed .edit-btn {
            color: #3b82f6;
            background: transparent;
            border: none;
            font-size: 11px;
            padding: 4px 6px;
            cursor: pointer;
        }

        .input-area-fixed .edit-btn:active {
            opacity: 0.7;
        }

        /* 移动端优化 - 所有按钮只显示图标 */

        /* 优先级下拉框 */
        .input-area-fixed .priority-selector .dropdown-btn span {
            display: none;
        }

        .input-area-fixed .priority-selector .dropdown-btn {
            padding: 10px 14px;
            min-width: auto;
            width: 36px;
            justify-content: center;
        }

        /* 功能按钮 */
        .input-area-fixed .function-toggle-btn span {
            display: none;
        }

        .input-area-fixed .function-toggle-btn {
            padding: 10px 14px;
            min-width: auto;
            width: 36px;
            justify-content: center;
        }


    }

    /* PC端优化 */
    @media (min-width: 769px) {
        .input-area-fixed .char-count {
            color: #6b7280;
            font-size: 12px;
        }

        .input-area-fixed .edit-btn {
            color: #3b82f6;
            background: transparent;
            border: none;
            font-size: 12px;
            padding: 4px 8px;
            cursor: pointer;
        }
    }

    /* ========== 移动端优化 (仅针对768px及以下) ========== */
    @media (max-width: 768px) {

        /* 修正底部固定容器位置 */
        .input-area-fixed {
            left: 0 !important;
            right: 0 !important;
            padding: 0 12px;
            bottom: 0 !important;
            position: fixed !important;
            width: 100%;
            pointer-events: none;
            z-index: 1;
        }

        /* 输入卡片 - 控制整体高度 */
        .input-area {
            max-width: 100% !important;
            border-radius: 20px !important;
            padding: 12px 12px 8px !important;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
            border-bottom: none;
            width: 100%;
            pointer-events: auto;
            background: white;
        }

        /* 文本框 - 调整高度 */
        .text-input {
            min-height: 60px;
            max-height: 80px;
            font-size: 16px !important;
            padding: 8px 12px 4px;
            line-height: 1.4;
        }

        /* 底部工具栏 - 垂直堆叠但更紧凑 */
        .input-footer {
            /* flex-direction: column !important; */
            align-items: stretch !important;
            gap: 6px !important;
            margin-top: 4px;
        }

        /* 顶部行：字符计数器和编辑按钮 */
        .char-counter {
            align-self: flex-start !important;
            border-radius: 24px;
            padding: 2px 12px;
            font-size: 11px;
            line-height: 1.4;
        }

        .edit-btn {
            padding: 2px 10px;
            border-radius: 30px;
            font-size: 11px;
            line-height: 1.4;
        }

        /* 操作组 - 按钮行 */
        .action-group {
            /* width: 100%; */
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: nowrap !important;
            justify-content: space-between;
            align-items: center;
            gap: 4px !important;
        }

        /* 模型选择器 */
        /* .model-selector {
            flex: 0 1 auto;
            min-width: 80px;
        }

        .model-select-btn {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 6px 4px !important;
            border-radius: 40px;
            font-size: 0.75rem;
            white-space: nowrap;
            gap: 2px;
            height: 36px;
        }

        .model-select-btn i {
            font-size: 14px;
        }

        .model-select-btn span {
            font-size: 0.75rem;
            max-width: 45px;
            overflow: hidden;
            text-overflow: ellipsis;
        } */

        /* 服务器/优先级下拉框 */
        /* .server-selector,
        .priority-selector {
            flex: 0 1 auto;
            min-width: 65px;
        }

        .dropdown-btn {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 6px 2px !important;
            border-radius: 40px;
            font-size: 0.7rem;
            white-space: nowrap;
            gap: 1px;
            height: 36px;
        }

        .dropdown-btn span {
            font-size: 0.75rem;
            max-width: 36px;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .dropdown-btn i {
            font-size: 10px;
        } */

        /* 提交按钮 */
        .submit-btn {
            width: 36px !important;
            height: 36px !important;
            min-width: 36px !important;
            margin: 0 0 0 2px !important;
            flex: 0 0 auto !important;
            background: #3b82f6;
            border-radius: 30px !important;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .submit-btn i {
            font-size: 16px !important;
        }

        /* 功能按钮栏 - 只显示图标的按钮行 */
        .function-bar {
            display: flex;
            justify-content: space-around;
            gap: 4px;
            margin: 2px 0 0;
        }

        /* 功能按钮 - 只显示图标，隐藏文字 */
        .function-btn {
            flex: 1 1 0;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 8px 0 !important;
            border-radius: 30px;
            min-width: 40px;
            height: 38px;
        }

        .function-btn span {
            display: none !important;
            /* 隐藏文字 */
        }

        .function-btn i {
            font-size: 1rem !important;
            margin: 0;
        }

        /* 免责声明 */
        .disclaimer {
            display: none;
            /* max-width: 100%;
        font-size: 9px;
        padding: 4px 0 6px;
        margin: 0 !important;
        color: #9aa3b4;
        text-align: center;
        line-height: 1.2; */
        }

        /* 已选模型预览 */
        .selected-model {
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 4px 10px 4px 14px;
            white-space: nowrap;
            height: 36px;
        }

    }


    /* 基础样式 */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Microsoft YaHei', Arial, sans-serif;
        min-height: 100vh;
        padding: 10px;
    }

    /* 悬浮登录面板样式 - 保留但隐藏 */
    #floatingLoginPanel {
        display: none !important;
    }

    /* 状态栏 - 修改为只显示连接状态 */
    .status-bar {
        position: fixed;
        top: 10px;
        z-index: 1000;
        display: flex;
        align-items: center;
        gap: 8px;
        background: rgba(255, 255, 255, 0.95);
        padding: 6px 12px;
        border-radius: 15px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        font-size: 12px;
    }
.status-bar a {
text-decoration: none;
}
    .status-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #dc3545;
    }

    .status-dot.connected {
        background: #28a745;
        animation: pulse 2s infinite;
    }

    @keyframes pulse {
        0% {
            opacity: 1;
        }

        50% {
            opacity: 0.5;
        }

        100% {
            opacity: 1;
        }
    }

    /* 复制按钮反馈动画 */
    @keyframes copySuccess {
        0% {
            transform: scale(1);
            color: var(--text-secondary);
            ;
        }

        50% {
            transform: scale(1.1);
            color: #28a745;
        }

        100% {
            transform: scale(1);
            color: var(--text-secondary);
            ;
        }
    }

    @keyframes copyError {
        0% {
            transform: scale(1);
            color: var(--text-secondary);
            ;
        }

        50% {
            transform: scale(1.1);
            color: #dc3545;
        }

        100% {
            transform: scale(1);
            color: var(--text-secondary);
            ;
        }
    }

    .copy-success {
        animation: copySuccess 0.6s ease;
    }

    .copy-error {
        animation: copyError 0.6s ease;
    }

    /* 旋转动画 */
    .fa-spin {
        animation: fa-spin 1s infinite linear;
    }

    @keyframes fa-spin {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    /* 任务列表容器 */
    .task-list-container {
        /* padding-bottom: 220px; */
        max-width: 800px;
        margin: 0 auto;
    }

    /* 任务组样式 */
    .task-group-wrapper {

        border-radius: 8px;
        padding: 15px;
        margin: 15px 0;
        border: 1px solid #dee2e6;
        border-left: 4px solid #4361ee;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .task-group-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
    }

    .group-info {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .group-title {
        font-weight: bold;
        color: var(--text-primary);
        font-size: 1rem;
    }

    .group-badge {
        color: rgb(153, 153, 153);
        padding: 2px 8px;
        border-radius: 10px;
        font-size: 0.75rem;
    }

    /* 任务项样式 */
    .task-item {
        border-radius: 8px;
        padding: 15px;
        margin-bottom: 16px;
        position: relative;
    }

    @keyframes highlightTask {
        0% {
            background: rgba(52, 152, 219, 0.1);
        }

        100% {}
    }

    .task-item.newly-submitted {
        background: rgba(255, 193, 7, 0.05);
    }

    /* 隐藏任务头部 */
    .task-header {
        display: none;
    }

    /* 状态容器 */
    .task-status-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 8px;
    }

    .task-status {
        padding: 3px 8px;
        border-radius: 10px;
        font-size: 0.7rem;
        font-size: 0.9rem;
        color: white;
        min-width: 50px;
        text-align: center;
    }

    .status-waiting {
        background: #ffc107;
    }

    .status-processing {
        background: #fd7e14;
    }

    .status-completed {
        background: #28a745;
    }

    .status-failed {
        background: #dc3545;
    }

    /* 完成任务后隐藏状态容器 */
    .task-item.completed .task-status-container {
        display: none;
    }

    /* 任务文本区域 */
    .task-text {
        margin-left: 15%;
        padding: 8px;
        border-radius: 5px;
        border: none;
        font-size: 1em;
        line-height: 1.6;
        color: var(--text-primary);
        overflow-y: auto;
    }

    /* 展开时的文本容器 */
    .text-expanded {
        overflow-y: auto;
    }

    /* 文本内容 */
    .text-content {
        word-break: break-word;
    }

    /* 文本预览 - 展开前显示3行 */
    .text-preview {
        background: var(--bg-navigation);
        padding: 10px;
        border-radius: 15px;
        display: block;
        overflow: hidden;
        position: relative;
    }

    .text-preview:after {
        position: absolute;
        bottom: 0;
        right: 0;
        background: var(--bg-navigation);
        padding-left: 4px;
    }

    /* 完整文本 */
    .text-full {
        padding: 10px;
        border-radius: 15px;
        background: var(--bg-navigation);
        display: none;
    }

    /* 文本操作按钮 - 小图标，单色 */
    .text-actions {
        margin-top: 8px;
        display: flex;
        justify-content: flex-end;
        gap: 10px;
    }

    .text-action-btn {
        width: 28px;
        height: 28px;
        border-radius: 4px;
        background: var(--bg-primary);
        border: none;
        color: var(--text-secondary);
        ;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.8rem;
        transition: all 0.2s;
    }

    .text-action-btn:hover {
        background: var(--bg-navigation);
        border-color: #adb5bd;
    }

    .text-action-btn i {
        font-size: 0.9rem;
    }

    /* 操作按钮容器 */
    .task-actions-container {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
    }

    /* 操作按钮 - 统一小尺寸，单色 */
    .action-btn-icon {
        background: none;
        border: none;
        width: 32px;
        height: 32px;
        border-radius: 5px;
        color: var(--text-secondary);
        ;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
    }

    .action-btn-icon:hover {
        background: var(--bg-navigation);
        border-color: #adb5bd;
        transform: translateY(-1px);
    }

    .action-btn-icon i {
        font-size: 16px;
    }

    /* 播放按钮特殊样式 */
    .play-btn-icon {

        border: none;
        color: var(--text-secondary);
        ;
    }

    .play-btn-icon.playing {
        color: #fd7e14;
    }

    .play-btn-icon.playing i {
        animation: audioIconPulse 1.5s infinite;
    }

    @keyframes audioIconPulse {
        0% {
            transform: scale(1);
        }

        50% {
            transform: scale(1.1);
        }

        100% {
            transform: scale(1);
        }
    }

    /* 音频播放器 */
    .audio-player-container {
        margin-top: 12px;
        padding: 8px;
        background: var(--bg-navigation);
        border-radius: 5px;
        border: 1px solid #dee2e6;
    }

    audio {
        width: 100%;
        height: 32px;
        border-radius: 4px;
    }

    .cache-status {
        font-size: 0.7rem;
        color: #28a745;
        text-align: center;
        margin-top: 4px;
    }

    /* 队列信息 - 修改为在任务状态和文本内容之间显示 */
    .queue-info {
        background: #fff3cd;
        border-radius: 5px;
        padding: 6px;
        margin: 8px 0;
        border: 1px solid #ffecb5;
        font-size: 0.75rem;
        color: #856404;
    }

    /* 空状态 */
    .empty-state {
        font-size: 50px;
        text-align: center;
        color: var(--text-primary);
        ;
        font-weight: bold;
        /* 设置容器高度 */
        line-height: 80vh;
        /* 设置行高等于容器高度 */
        margin: 0;
        /* 清除默认边距 */
    }

    /* 加载状态 */
    .loading-state {
        text-align: center;
        padding: 40px;
        color: var(--text-secondary);
        ;
    }

    .loading-spinner {
        width: 40px;
        height: 40px;
        border: 3px solid #f3f3f3;
        border-top: 3px solid #4361ee;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin: 0 auto 15px;
    }

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

        100% {
            transform: rotate(360deg);
        }
    }

    /* 通知 - 移除但保留样式备用 */
    .notification {
        display: none;
    }

    .notification-success {
        background: #28a745;
    }

    .notification-error {
        background: #dc3545;
    }

    .notification-info {
        background: #17a2b8;
    }

    .notification-warning {
        background: #ffc107;
        color: #212529;
    }

    /* 隐藏元素 */
    .task-id,
    .task-id .task-priority,
    .task-details,
    .queue-info .task-priority {
        display: none !important;
    }

    /* 其他按钮样式（保持兼容性） */
    .action-btn {
        padding: 6px 10px;
        background: var(--bg-navigation);
        border: 1px solid #dee2e6;
        border-radius: 4px;
        color: #495057;
        font-size: 0.8rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 4px;
        transition: all 0.2s;
    }

    .action-btn:hover {
        background: #e9ecef;
    }

    .btn-upgrade {
        background: #ffc107 !important;
        color: #000 !important;
        border-color: #ffc107 !important;
    }

    .btn-cancel {
        background: #ff4757 !important;
        color: white !important;
        border-color: #ff4757 !important;
    }

    .btn-retry {
        background: #17a2b8 !important;
        color: white !important;
        border-color: #17a2b8 !important;
    }

    .btn-download {
        background: #28a745 !important;
        color: white !important;
        border-color: #28a745 !important;
    }

    .btn-subtitle {
        background: #9b59b6 !important;
        color: white !important;
        border-color: #9b59b6 !important;
    }

    .btn-publish {
        background: #6f42c1 !important;
        color: white !important;
        border-color: #6f42c1 !important;
    }

    .btn-cache {
        background: #4361ee !important;
        color: white !important;
        border-color: #4361ee !important;
    }

    .btn-delete {
        background: var(--text-secondary);
        color: white !important;
        border-color: var(--text-secondary);
    }

    /* 状态栏登录按钮 - 隐藏 */
    #loginToggleBtn {
        display: none;
    }

    /* 优先级徽章样式 */
    .priority-badge {
        padding: 3px 8px;
        border-radius: 10px;
        font-size: 0.7rem;
        font-size: 0.9rem;
        color: white;
        display: inline-block;
    }

    .priority-normal {
        background: #3498db;
    }

    .priority-priority {
        background: #f39c12;
    }

    .priority-express {
        background: #2ecc71;
    }

    /* 移除原来的队列详细信息样式 */
    .queue-details {
        display: none !important;
    }

    .point-price {
        font-weight: bold;
        color: #fd7e14;
    }

    /* 升级按钮特殊样式 */
    .upgrade-icon {
        position: relative;
    }

    .upgrade-icon::after {
        content: '+1';
        position: absolute;
        top: -5px;
        right: -5px;
        background: #f39c12;
        color: white;
        font-size: 0.6rem;
        padding: 1px 3px;
        border-radius: 3px;
    }

    .express-upgrade::after {
        content: '+5';
        background: #2ecc71;
    }

    .priority-upgrade::after {
        content: '+4';
        background: #f39c12;
    }

    /* 发布模态框样式 */
    .modal {
        background: rgba(0, 0, 0, 0.5);
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10010;
        backdrop-filter: blur(2px);
    }

    .modal-content {
        width: 90%;
        max-width: 600px;
        border-radius: 10px;
        box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
        animation: modalSlideIn 0.3s ease;
    }

    @keyframes modalSlideIn {
        from {
            transform: translateY(-50px);
            opacity: 0;
        }

        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    .modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        border-bottom: 1px solid #e9ecef;
    }

    .modal-header h3 {
        margin: 0;
        color: var(--text-primary);
        font-size: 1.2rem;
    }

    .close-btn {
        background: none;
        border: none;
        font-size: 24px;
        color: var(--text-secondary);
        ;
        cursor: pointer;
        padding: 0;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }

    .close-btn:hover {
        background: var(--bg-navigation);
        color: #dc3545;
    }

    .modal-body {
        padding: 20px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-size: 0.9rem;
        color: var(--text-primary);
    }

    .form-input,
    .form-select,
    .form-textarea {
        width: 100%;
        padding: 10px;
        border: 1px solid #dee2e6;
        border-radius: 5px;
        font-size: 0.9rem;
        transition: border-color 0.3s;
    }

    .form-input:focus,
    .form-select:focus,
    .form-textarea:focus {
        outline: none;
        border-color: #4361ee;
    }

    .form-textarea {
        min-height: 100px;
        resize: vertical;
    }

    .checkbox-label {
        display: flex;
        flex-direction: column;
        cursor: pointer;
    }

    .checkbox-label input[type="checkbox"] {
        margin-right: 8px;
        width: 18px;
        height: 18px;
    }

    .checkbox-label span:first-of-type {
        display: flex;
        align-items: center;
        font-size: 0.9rem;
        margin-bottom: 4px;
    }

    .help-text {
        font-size: 12px;
        color: var(--text-secondary);
        ;
        margin-top: 4px;
    }

    .form-actions {
        display: flex;
        gap: 10px;
        justify-content: flex-end;
        margin-top: 20px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 10px 20px;
        border-radius: 5px;
        font-size: 0.9rem;
        cursor: pointer;
        border: none;
        transition: all 0.3s;
    }

    .btn-primary {
        background: linear-gradient(to right, #4361ee, #3a0ca3);
        color: white;
    }

    .btn-primary:hover {
        opacity: 0.9;
        transform: translateY(-1px);
    }

    .btn-secondary {
        color: #495057;
        border: 1px solid #dee2e6;
    }

    .btn-secondary:hover {
        background: #e9ecef;
    }

    /* 复选框样式 */
    input[type="checkbox"] {
        accent-color: #4361ee;
    }

    /* 状态消息区域 - 统一白底灰字 */
    .status-message-area {
        margin: 20px 0px 0px 0px;

        border-radius: 6px;
        border: none;
        font-size: 16px;
        line-height: 1.8;
        color: var(--text-primary);
        /* 统一颜色 */
        min-height: 80px;
    }

    .step-title {
        margin-bottom: 15px;
    }

    .step-waiting {
        margin-bottom: 10px;
    }

    .step-submit {
        margin-bottom: 10px;
    }

    .step-completed {
        margin-top: 15px;
    }

    .step-number {
        color: var(--text-secondary);
        font-size: 16px;
        margin-right: 8px;
        font-family: 'Verdana', 'Tahoma', sans-serif;
    }

    /* 移到最底部按钮样式 */
    .scroll-to-bottom-btn {
        background-color: #ffffff;
        border: 1px solid var(--border-color);
        /* 改为相对定位，随容器移动 */
        position: relative;
        /* 用margin控制水平居中，移除left和bottom */
        margin: 0 auto 8px auto;
        /* 上 右 下 左 - 自动水平居中，下边距5px */
        width: 36px;
        height: 36px;
        color: var(--text-primary);
        border-radius: 50%;
        cursor: pointer;
        display: none;
        /* 默认隐藏 */
        z-index: 1001;
        /* 稍微提高一点，确保在内容之上 */
        font-size: 0.9rem;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        opacity: 0;
        box-shadow: 0 0px 10px rgba(165, 165, 165, 0.1);
        /* 确保按钮可以点击（父容器有pointer-events: none） */
        pointer-events: auto;
        /* 移除transform */
    }

    .scroll-to-bottom-btn.show {
        display: flex;
        opacity: 1;
        /* 移除transform，因为已经用margin控制位置 */
    }

    .scroll-to-bottom-btn:hover {
        transform: translateY(-2px) scale(1.05);
    }

    .scroll-to-bottom-btn:active {
        transform: translateY(0) scale(0.95);
    }

    /* 按钮中的图标动画 */
    .scroll-to-bottom-btn i {
        transition: transform 0.3s ease;
    }

    .scroll-to-bottom-btn:hover i {
        transform: translateY(2px);
    }

    /* 简单跳动小圆点 */
    .simple-loading-dots {
        display: flex;
        align-items: center;
        gap: 4px;
        margin: 10px 0;
    }

    .simple-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #cacaca;
        animation: simpleBounce 1.4s ease-in-out infinite;
    }

    .simple-dot:nth-child(1) {
        animation-delay: 0s;
    }

    .simple-dot:nth-child(2) {
        animation-delay: 0.2s;
    }

    .simple-dot:nth-child(3) {
        animation-delay: 0.4s;
    }

    @keyframes simpleBounce {

        0%,
        60%,
        100% {
            transform: translateY(0);
            opacity: 0.6;
        }

        30% {
            transform: translateY(-6px);
            opacity: 1;
        }
    }

    /* 组信息弹窗样式 */
    .group-info-popup {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: var(--modal-bg);
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        z-index: 9999;
        border: 1px solid #e2e8f0;
        animation: popupFadeIn 0.3s ease;
    }

    @keyframes popupFadeIn {
        from {
            opacity: 0;
            transform: translate(-50%, -45%);
        }

        to {
            opacity: 1;
            transform: translate(-50%, -50%);
        }
    }

    .popup-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9998;
    }

    .popup-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px;
        color: var(--text-primary);
        border-radius: 12px 12px 0 0;
    }

    .popup-header h3 {
        margin: 0;
        font-size: 16px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .close-popup {
        background: none;
        border: none;
        color: var(--text-primary);
        font-size: 24px;
        cursor: pointer;
        opacity: 0.8;
    }

    .close-popup:hover {
        opacity: 1;
    }

    .popup-content {
        padding: 20px;
        max-height: 400px;
        overflow-y: auto;
    }

    .group-id-display {
        font-family: monospace;
        background: #f8fafc;
        padding: 8px 12px;
        border-radius: 6px;
        margin-bottom: 16px;
        font-size: 0.9rem;
        color: #4b5563;
        word-break: break-all;
    }

    .group-info-row {
        display: flex;
        margin-bottom: 10px;
        font-size: 0.9rem;
    }

    .group-info-label {
        font-size: 0.9rem;
        color: #6b7280;
        min-width: 80px;
    }

    .group-info-value {
        color: #1f2937;
        flex: 1;
    }

    .popup-buttons {
        display: flex;
        gap: 10px;
        margin-top: 20px;
    }

    .popup-btn {
        flex: 1;
        padding: 6px 8px;
        border: none;
        border-radius: 8px;
        background: #f3f4f6;
        color: #4b5563;
        cursor: pointer;
        transition: all 0.2s;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        white-space: nowrap;
    }

    .popup-btn:hover {
        background: #e5e7eb;
    }

    .popup-btn.primary {
        background: #3b82f6;
        color: white;
    }

    .popup-btn.success {
        background: #10b981;
        color: white;
    }

    .group-task-btn {
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 4px 10px;
        background-color: #ce8922;
        ;
        color: #ffffff;
        border: none;
        border-radius: 10px;
        cursor: pointer;
        font-size: 12px;
        transition: all 0.2s ease;
        white-space: nowrap;
    }

    .group-task-btn:hover {
        background-color: #bd7e20;
        ;
    }

    .group-task-btn i {
        font-size: 10px;
    }

    .task-actions {
        display: flex;
        gap: 8px;
        align-items: center;
        flex-wrap: wrap;
    }

/* 链接样式 */
.market-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dashed #3b82f6;
    transition: all 0.2s ease;
    cursor: pointer;
}

.market-link:hover {
    color: #2563eb;
    border-bottom-color: #2563eb;
    text-decoration: none;
}

.market-link:active {
    color: #1d4ed8;
}

/* 任务信息容器样式 */
.task-message {
    line-height: 1.6;
    font-size: 14px;
    color: #333;
}

.task-message a {
    color: #3b82f6;
    text-decoration: none;
}

.task-message a:hover {
    text-decoration: underline;
}    