@charset "UTF-8";
/* https://naoyuyan.com/asicheatsheet/html/asicheatsheet48.html */
        :root {
            --亮: #3a3a53;
            --暗: #2980b9;
            --辅: #e6f7ff;
            --边: #d1e5f0;
            --影: rgba(0, 0, 0, 0.1);
            --色: #333;
            --飘: #2980b9;
            --白: white;
            --削: 8px;
            --卡: 0 2px 8px var(--影);
            --速: 0.3s;
            --窄: 0.5rem;
            --间: 1rem;
            --阔: 1.5rem;
            --小: 0.8rem;
            --中: 1rem;
            --大: 1.1rem;
            --超: 1.2rem;
            --宽: 250px;
            --趴: 20%;
            --突: #1e1e1e;
            --耀: #f39c12;
            --隔: 6px;
            --透: rgba(0, 0, 0, 0.1);
            --悬: rgba(0, 0, 0, 0.3);
        } 
        /* 暗黑模式下修改变量值 */
        @media (prefers-color-scheme: dark) {
            :root {
                --亮: #8d8d8d;
            }
        }
        .旁下.折叠 {
            width: 0;
            transform: translateX(100%);
        }
        .左侧导航 {
            overflow-y: auto;
        }
        .左侧导航.折叠 {
            width: 0;
            transform: translateX(-100%);
        }
        .左侧导航内容 {
            height: 100%;
            display: flex;
            flex-direction: column;
            width: 128px;
        }
        .左侧折叠按钮 {
            background: none;
            border: none;
            color: white;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            font-size: 16px;
        }
        .左侧折叠按钮:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }
        .搜索框容器 {
            margin-bottom: 1rem;
            position: relative;
        }
        .搜索框 {
            width: 100%;
            padding: 0.5rem;
            border-radius: 4px;
            border: none;
            outline: none;
            font-size: var(--小);
            padding-right: 30px;
        }
        .搜索图标 {
            position: absolute;
            right: 8px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--亮);
            cursor: pointer;
        }
        .导航项容器 {
            overflow-y: auto;
            flex: 1;
        }
        .导航项组 {
            margin-bottom: 0.5rem;
        }
        .导航项标题 {
            cursor: pointer;
            border-radius: 4px;
            margin-bottom: 0.3rem;
            display: flex;
            flex-direction: column;
        }
        .子导航项 {
            padding: 0.3rem 0.5rem;
            cursor: pointer;
            border-radius: 4px;
            margin-bottom: 0.2rem;
            font-size: var(--小);
        }
        .子导航项:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }
        .子导航项.活 {
            background-color: rgba(255, 255, 255, 0.2);
            font-weight: bold;
        }

        .列数控制 {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .列数标签 {
            font-size: var(--小);
            color: var(--色);
        }
        .列数选择 {
            width: 57px;
            border-radius: 4px;
            border: 1px solid var(--边);
            font-size: var(--小);
            background-color: white;
            width: 50px;
        }
        .过滤器容器 {
            display: flex;
        }
        .过滤输入框 {
            padding: 0.3rem 0.5rem;
            border-radius: 4px;
            font-size: var(--小);
            width: 200px;
        }
        .工具按钮组 {
            display: flex;
            gap: 0.5rem;
        }
        .工具按钮 {
            background-color: var(--亮);
            color: white;
            border: none;
            border-radius: 4px;
            padding: 0.3rem 0.8rem;
            cursor: pointer;
            font-size: var(--小);
            display: flex;
            align-items: center;
            gap: 5px;
        }
        .工具按钮:hover {
            background-color: var(--飘);
        }
        .类图内容区 { height: 100%; overflow: auto; width: 100%; }
        
        .编辑器操作 {
            display: flex;
            gap: 0.5rem;
        } 
        .编辑按钮 {
            background-color: white;
            color: var(--亮);
            border: none;
            border-radius: 4px;
            padding: 0.3rem 0.8rem;
            cursor: pointer;
            font-weight: bold;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        .编辑按钮:hover {
            background-color: var(--辅);
        }
        .右侧折叠按钮 {
            background: none;
            border: none;
            color: white;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            font-size: 16px;
        }
        .右侧折叠按钮:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }
        .顶部标题 {
            font-size: var(--超);
            font-weight: bold;
            color: var(--亮);
            margin-bottom: 1rem;
            text-align: center;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--边);
        }
        .类别标签 {
            display: inline-block;
            margin-right: 0.5rem;
            color: white;
            background-color: var(--亮);
            border-radius: 4px;
            padding: 0.1rem 0.3rem;
            font-size: var(--小);
        }
        .浮动面板 {
            position: fixed;
            background-color: white;
            border-radius: var(--削);
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
            padding: 1rem;
            z-index: 100;
            display: none;
            max-width: 300px;
        }
        .浮动面板.显示 {
            display: block;
        }
        .浮动面板标题 {
            font-size: var(--大);
            font-weight: bold;
            margin-bottom: 0.8rem;
            color: var(--亮);
            border-bottom: 1px solid var(--边);
            padding-bottom: 0.3rem;
        }
        .浮动面板组 {
            margin-bottom: 0.8rem;
        }
        .浮动面板标签 {
            display: block;
            margin-bottom: 0.3rem;
            font-weight: bold;
        }
        .浮动面板输入 {
            width: 100%;
            padding: 0.5rem;
            border-radius: 4px;
            border: 1px solid var(--边);
            margin-bottom: 0.5rem;
        }
        .浮动面板输入[type="range"] {
            padding: 0;
        }
        .浮动面板颜色组 {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
        }
        .颜色选项 {
            width: 25px;
            height: 25px;
            border-radius: 50%;
            cursor: pointer;
            border: 2px solid transparent;
        }
        .颜色选项.选中 {
            边: var(--亮);
        }
        .浮动面板按钮组 {
            display: flex;
            justify-content: flex-end;
            gap: 0.5rem;
            margin-top: 1rem;
        }
        .浮动面板按钮 {
            padding: 0.4rem 0.8rem;
            border-radius: 4px;
            border: none;
            cursor: pointer;
            font-size: var(--小);
        }
        .浮动面板按钮.主要 {
            background-color: var(--亮);
            color: white;
        }
        .浮动面板按钮.次要 {
            background-color: #f1f1f1;
            color: #333;
        }
        .浮动面板按钮:hover {
            opacity: 0.9;
            transform: translateY(-2px);
        }
        .帮助面板 {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: white;
            border-radius: var(--削);
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
            padding: 1.5rem;
            z-index: 200;
            max-width: 700px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            display: none;
        }
        .帮助面板.显示 {
            display: block;
        }
        .帮助面板标题 {
            font-size: var(--超);
            font-weight: bold;
            color: var(--亮);
            margin-bottom: 1rem;
            border-bottom: 1px solid var(--边);
            padding-bottom: 0.5rem;
        }
        .帮助面板部分 {
            margin-bottom: 1.5rem;
        }
        .帮助面板小标题 {
            font-size: var(--大);
            font-weight: bold;
            margin-bottom: 0.5rem;
            color: var(--飘);
        }
        .帮助面板关闭 {
            position: absolute;
            top: 15px;
            right: 15px;
            border: none;
            background: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: #999;
            
        }
        .帮助面板关闭:hover {
            color: var(--色);
        }
        .帮助面板列表 {
            padding-left: 1.5rem;
            margin-bottom: 0.5rem;
        }
        .帮助面板项 {
            margin-bottom: 0.3rem;
        }
        .遮罩层 {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 99;
            display: none;
        }
        .遮罩层.显示 {
            display: block;
        }
        .未找到 {
            text-align: center;
            padding: 2rem;
            color: #666;
            font-style: italic;
            background-color: rgba(255, 255, 255, 0.5);
            border-radius: var(--削);
            margin-top: 2rem;
        }
        .计数徽章 {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background-color: rgba(255, 255, 255, 0.2);
            color: white;
            font-size: 0.7rem;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            margin-left: 0.5rem;
        }
        .搜索结果计数 {
            font-size: var(--小);
            width: 42px;
            margin-top: 7px;
            color: white;
        }
        .悬浮按钮容器 {
            position: fixed;
            right: 20px;
            bottom: 20px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            z-index: 50;
        }
        .悬浮按钮 {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: var(--亮);
            color: white;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            transition: transform var(--速), background-color var(--速);
        }
        .悬浮按钮:hover {
            transform: scale(1.1);
            background-color: var(--飘);
        }
        .展开收起按钮 {
            border: none;
            background: none;
            color: var(--亮);
            cursor: pointer;
            font-size: 14px;
        }
        .展开收起按钮:hover {
            color: var(--飘);
        }
        .卡片动作按钮 {
            opacity: 0;
            background: none;
            border: none;
            color: var(--亮);
            cursor: pointer;
            font-size: 14px;
        }
        .类图卡片:hover .卡片动作按钮 {
            opacity: 1;
        }
        .卡片动作按钮:hover {
            color: var(--飘);
        }
        .下拉列表 {
            position: relative;
            display: inline-block;
        }
        .下拉按钮 {
            padding: 0.3rem 0.6rem;
            background-color: var(--亮);
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: var(--小);
            display: flex;
            align-items: center;
            gap: 5px;
        }
        .下拉内容 {
            display: none;
            position: absolute;
            right: 0;
            top: 100%;
            background-color: white;
            min-width: 150px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            z-index: 30;
            border-radius: 4px;
            overflow: hidden;
        }
        .下拉列表:hover .下拉内容 {
            display: block;
        }
        .下拉项 {
            padding: 0.5rem 1rem;
            cursor: pointer;
            
        }
        .下拉项:hover {
            background-color: var(--辅);
        }
        .分割线 {
            height: 1px;
            background-color: var(--边);
            margin: 0.3rem 0;
        }
        .分类标题容器 {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }
        .分类标题 {

        }
        .分类操作 {
            display: flex;
            gap: 0.5rem;
        }
        .状态指示器 {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: var(--小);
            color: var(--亮);
            margin-left: 0.5rem;
        }
        .切换视图按钮组 {
            display: flex;
            gap: 0.3rem;
            background-color: white;
            border-radius: 4px;
            padding: 2px;
            border: 1px solid var(--边);
        }
        .切换视图按钮 {
            border: none;
            background: none;
            padding: 0.3rem 0.5rem;
            cursor: pointer;
            border-radius: 2px;
        }
        .切换视图按钮.活 {
            background-color: var(--亮);
            color: white;
        }
        .切换视图按钮:hover:not(.活) {
            background-color: var(--辅);
        }
        /* 调整器样式 */
        .垂直调整器 {
            width: var(--隔);
            cursor: col-resize;
            background-color: var(--透);
            z-index: 10;
        }
        .垂直调整器:hover, .垂直调整器.正在调整 {
            background-color: var(--悬);
        }
        .水平调整器 {
            height: var(--隔);
            cursor: row-resize;
            background-color: var(--透);
            z-index: 10;
        }
        .水平调整器:hover, .水平调整器.正在调整 {
            background-color: var(--悬);
        }
        .实时更新容器 {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-left: 1rem;
        }
        .庄 { 
            display: none; 
            height: 100%;
            overflow: auto;
        }
        .庄.活 { 
            display: block; 
        }

        .发送按钮 {
            padding: 6px 12px;
            border: none;
            background: white;
            color: var(--亮);
            border-radius: 4px;
            cursor: pointer;
            font-weight: bold;
        }
        .发送按钮:hover {
            background: var(--辅);
        } 
        .聊天项 {
            padding: 10px;
            margin: 5px;
            background: white;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }
        .聊天项.用户 {
            background: #fbfcfd;
            color: #000000;
            margin-left: 20px;
            border-radius: 16px 16px 0 8px;
        }
        .聊天项.系统 {
            background: #e7e7e7;
            color: #000000;
            margin-right: 20px;
            border-radius: 16px 16px 8px 0;
        }
        .聊天项 .时间 {
            font-size: 0.7rem;
            color: #999;
            margin-top: 5px;
            text-align: right;
        }
        .刷文 {
            padding: 6px 12px;
            border: none;
            background: white;
            color: var(--亮);
            border-radius: 4px;
            cursor: pointer;
            font-weight: bold;
        }
        .刷文:hover {
            background: var(--辅);
        }
.dark { /* 【惯】css的dark{里}只能改颜色，不能改宽高 */
    .聊天项.用户 {color: #c7bebe;}
    .聊天项.系统 {color: #a19c9c;}
    .聊天项.系统 {
        background: #211f1f !important;
    }
    .聊天项.用户 {
        background: #434343 !important;
    }
}