MediaWiki

Card.css:修订间差异

来自卡厄思梦境WIKI

律Rhyme留言 | 贡献
创建页面,内容为“卡牌管理器主容器:​ .card-manager { display: flex; gap: 20px; padding: 20px; background: #f5f5f5; min-height: 100vh; } 左侧输入区:​ .card-input-panel { flex: 0 0 350px; background: white; border-radius: 8px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); height: fit-content; } 中间列表区:​ .card-list-panel { flex: 1; background: white; border-radius: 8px; padding:…”
 
律Rhyme留言 | 贡献
无编辑摘要
 
(未显示同一用户的5个中间版本)
第1行: 第1行:
/* 卡牌管理器主容器 */
/* 卡牌管理器容器 */
.card-manager {
.card-manager {
     display: flex;
     display: flex;
     gap: 20px;
     gap: 20px;
     padding: 20px;
     padding: 20px;
    font-family: sans-serif;
     background: #f5f5f5;
     background: #f5f5f5;
    min-height: 100vh;
}
}


/* 左侧输入区 */
/* 左侧输入区 */
.card-input-panel {
.card-input-section {
     flex: 0 0 350px;
     flex: 0 0 350px;
     background: white;
     background: white;
    padding: 20px;
     border-radius: 8px;
     border-radius: 8px;
    padding: 20px;
     box-shadow: 0 2px 4px rgba(0,0,0,0.1);
     box-shadow: 0 2px 8px rgba(0,0,0,0.1);
     overflow-y: auto;
     height: fit-content;
    max-height: 90vh;
}
}


/* 中间列表区 */
/* 中间列表区 */
.card-list-panel {
.card-list-section {
     flex: 1;
     flex: 1;
     background: white;
     background: white;
    padding: 20px;
     border-radius: 8px;
     border-radius: 8px;
    padding: 20px;
     box-shadow: 0 2px 4px rgba(0,0,0,0.1);
     box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow-y: auto;
    max-height: 90vh;
}
}


/* 右侧预览区 */
/* 右侧预览区 */
.card-preview-panel {
.card-preview-section {
     flex: 0 0 400px;
     flex: 0 0 400px;
     background: white;
     background: white;
    padding: 20px;
     border-radius: 8px;
     border-radius: 8px;
    padding: 20px;
     box-shadow: 0 2px 4px rgba(0,0,0,0.1);
     box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow-y: auto;
     max-height: 90vh;
     max-height: 90vh;
    overflow-y: auto;
}
}


/* 表单项 */
/* 表单组 */
.form-group {
.form-group {
     margin-bottom: 15px;
     margin-bottom: 15px;
第45行: 第48行:
.form-label {
.form-label {
     display: block;
     display: block;
    margin-bottom: 5px;
     font-weight: bold;
     font-weight: bold;
    margin-bottom: 5px;
     color: #333;
     color: #333;
    font-size: 14px;
}
}


/* 自定义下拉框 */
.form-input,
.custom-select {
.form-select,
    position: relative;
.form-textarea {
     width: 100%;
     width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    font-family: sans-serif;
}
}


.select-display {
.form-input:focus,
    width: 100%;
.form-select:focus,
    padding: 8px 30px 8px 10px;
.form-textarea:focus {
    border: 1px solid #ddd;
     outline: none;
    border-radius: 4px;
     border-color: #4a90e2;
     background: white;
     cursor: pointer;
    user-select: none;
}
}


.select-display:hover {
.form-textarea {
     border-color: #999;
    min-height: 100px;
    resize: vertical;
     font-family: monospace;
}
}


.select-arrow {
/* 下拉选择器样式 */
     position: absolute;
.form-select {
     right: 10px;
     background: white;
     top: 50%;
     cursor: pointer;
     transform: translateY(-50%);
     appearance: none;
     pointer-events: none;
     background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
     background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 30px;
}
}


.select-dropdown {
/* 下拉菜单 */
.dropdown-menu {
     position: absolute;
     position: absolute;
    top: 100%;
    left: 0;
    right: 0;
     background: white;
     background: white;
     border: 1px solid #ddd;
     border: 1px solid #ddd;
    border-top: none;
     border-radius: 4px;
     border-radius: 0 0 4px 4px;
     max-height: 200px;
     max-height: 200px;
     overflow-y: auto;
     overflow-y: auto;
     display: none;
     display: none;
     z-index: 1000;
     z-index: 1000;
     box-shadow: 0 4px 8px rgba(0,0,0,0.1);
     box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
 
.select-dropdown.active {
    display: block;
}
}


.select-option {
.dropdown-item {
     padding: 8px 10px;
     padding: 8px 12px;
     cursor: pointer;
     cursor: pointer;
}
}


.select-option:hover {
.dropdown-item:hover {
     background: #f0f0f0;
     background: #f0f0f0;
}
}


.select-option.selected {
/* 按钮组 */
    background: #e3f2fd;
.button-group {
    color: #1976d2;
}
 
/* 自定义输入框 */
.custom-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}
 
.custom-input:focus {
    outline: none;
    border-color: #1976d2;
}
 
/* 自定义文本域 */
.custom-textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    min-height: 100px;
    resize: vertical;
    box-sizing: border-box;
    font-family: monospace;
}
 
.custom-textarea:focus {
    outline: none;
    border-color: #1976d2;
}
 
/* 格式化按钮容器 */
.format-buttons {
     display: flex;
     display: flex;
     gap: 5px;
    flex-wrap: wrap;
     gap: 8px;
     margin-bottom: 10px;
     margin-bottom: 10px;
    flex-wrap: wrap;
}
}


.format-btn {
.btn {
     padding: 5px 10px;
     padding: 6px 12px;
    border: 1px solid #ddd;
     border-radius: 4px;
     border-radius: 4px;
     cursor: pointer;
     cursor: pointer;
     font-size: 12px;
     font-size: 13px;
    border: 1px solid #ddd;
     background: white;
     background: white;
     transition: all 0.2s;
     transition: all 0.2s;
    user-select: none;
}
}


.format-btn:hover {
.btn:hover {
     background: #f0f0f0;
     background: #f0f0f0;
    transform: translateY(-1px);
}
.btn:active {
    transform: translateY(0);
}
}


.format-btn.blue {
.btn-blue {
    background: #e3f2fd;
    border-color: #2196f3;
     color: #1976d2;
     color: #1976d2;
    border-color: #1976d2;
}
}


.format-btn.green {
.btn-blue:hover {
     color: #4caf50;
    background: #bbdefb;
}
 
.btn-green {
     background: #e8f5e9;
     border-color: #4caf50;
     border-color: #4caf50;
    color: #388e3c;
}
}


/* 多选框 */
.btn-green:hover {
.checkbox-group {
     background: #c8e6c9;
     display: flex;
    align-items: center;
    gap: 10px;
}
}


.custom-checkbox {
.btn-primary {
     width: 20px;
     background: #4a90e2;
     height: 20px;
     color: white;
     border: 2px solid #ddd;
     border-color: #4a90e2;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
}


.custom-checkbox:hover {
.btn-primary:hover {
     border-color: #1976d2;
     background: #357abd;
}
}


.custom-checkbox.checked {
.btn-danger {
     background: #1976d2;
     background: #f44336;
     border-color: #1976d2;
    color: white;
     border-color: #f44336;
}
}


.custom-checkbox.checked::after {
.btn-danger:hover {
     content: "✓";
    background: #d32f2f;
}
 
.btn-success {
     background: #4caf50;
     color: white;
     color: white;
     font-weight: bold;
     border-color: #4caf50;
}
 
.btn-success:hover {
    background: #388e3c;
}
}


/* 卡牌列表 */
/* 卡牌项 */
.card-list-item {
.card-item {
     padding: 10px;
     padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
     margin-bottom: 10px;
     margin-bottom: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
     cursor: pointer;
     cursor: pointer;
     transition: all 0.2s;
     transition: all 0.2s;
     display: flex;
     background: #fafafa;
    justify-content: space-between;
    align-items: center;
}
}


.card-list-item:hover {
.card-item:hover {
     background: #f5f5f5;
     background: #f0f0f0;
     border-color: #1976d2;
     border-color: #4a90e2;
    transform: translateX(5px);
}
}


.card-list-item.active {
.card-item.active {
     background: #e3f2fd;
     background: #e3f2fd;
     border-color: #1976d2;
     border-color: #2196f3;
    border-width: 2px;
    padding: 11px; /* 补偿边框宽度 */
}
}


.card-list-item-name {
.card-item-name {
     font-weight: bold;
     font-weight: bold;
    color: #333;
    margin-bottom: 4px;
}
}


.card-list-item-info {
.card-item-info {
     font-size: 12px;
     font-size: 12px;
     color: #666;
     color: #666;
}
}


.delete-btn {
/* 代码预览 */
     padding: 5px 10px;
.code-preview {
     background: #f44336;
    background: #1e1e1e;
     color: white;
    color: #d4d4d4;
    padding: 15px;
    border-radius: 6px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 13px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-height: calc(90vh - 150px);
    overflow-y: auto;
}
 
/* 区块标题 */
.section-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
     padding-bottom: 10px;
    border-bottom: 2px solid #4a90e2;
    color: #333;
}
 
/* 灵光一闪/神光一闪区域 */
.inspiration-section {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}
 
.inspiration-item {
     background: #f9f9f9;
    padding: 10px;
    margin-bottom: 10px;
     border-left: 3px solid #4a90e2;
     border-radius: 4px;
     border-radius: 4px;
    cursor: pointer;
    border: none;
    font-size: 12px;
}
}


.delete-btn:hover {
.inspiration-item-header {
     background: #d32f2f;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
 
.inspiration-item-title {
     font-weight: bold;
    color: #4a90e2;
}
}


/* 按钮 */
/* 简化的灵光/神光列表项 */
.btn {
.inspiration-item-simple {
     padding: 10px 20px;
     padding: 10px 12px;
     border-radius: 4px;
    margin-bottom: 8px;
    border: 1px solid #e0e0e0;
     border-radius: 6px;
     cursor: pointer;
     cursor: pointer;
    font-size: 14px;
    font-weight: bold;
     transition: all 0.2s;
     transition: all 0.2s;
     text-align: center;
     background: #fafafa;
    border: none;
}
}


.btn-primary {
.inspiration-item-simple:hover {
     background: #1976d2;
     background: #f0f0f0;
     color: white;
     border-color: #9c27b0;
    transform: translateX(3px);
}
}


.btn-primary:hover {
.inspiration-item-simple.active {
     background: #1565c0;
     background: #f3e5f5;
    border-color: #9c27b0;
    border-width: 2px;
    padding: 9px 11px; /* 补偿边框宽度 */
}
}


.btn-success {
.inspiration-item-name {
     background: #4caf50;
     font-weight: bold;
     color: white;
    color: #9c27b0;
     margin-bottom: 4px;
    font-size: 13px;
}
}


.btn-success:hover {
.inspiration-item-info {
     background: #45a049;
    font-size: 12px;
     color: #666;
}
}


.btn-group {
/* 神明选择标签组 */
.god-select-group {
     display: flex;
     display: flex;
     gap: 10px;
     gap: 8px;
     margin-top: 20px;
    margin-bottom: 10px;
     flex-wrap: wrap;
}
}


/* 预览代码 */
.god-tab {
.preview-code {
     padding: 6px 12px;
    background: #f5f5f5;
     padding: 15px;
     border-radius: 4px;
     border-radius: 4px;
     font-family: monospace;
     background: #e0e0e0;
     font-size: 12px;
     cursor: pointer;
     white-space: pre-wrap;
     font-size: 13px;
     word-wrap: break-word;
     transition: all 0.2s;
    max-height: 80vh;
     user-select: none;
     overflow-y: auto;
}
}


/* 标题 */
.god-tab:hover {
.panel-title {
     background: #d0d0d0;
     font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #1976d2;
    padding-bottom: 10px;
}
}


.section-title {
.god-tab.active {
     font-size: 16px;
     background: #4a90e2;
    font-weight: bold;
     color: white;
    margin: 20px 0 10px 0;
     color: #1976d2;
}
}


/* 顶部信息区 */
/* 默认信息区 */
.default-info-section {
.default-info-section {
     background: #e3f2fd;
     background: #fff3e0;
     padding: 15px;
     padding: 15px;
     border-radius: 4px;
     border-radius: 6px;
     margin-bottom: 20px;
     margin-bottom: 20px;
    border-left: 4px solid #ff9800;
}
}


/* 稀有度选择 */
/* 变体编辑区 */
.rarity-options {
.variant-edit-section {
     display: flex;
     background: #f3e5f5;
     gap: 10px;
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
     border-left: 4px solid #9c27b0;
}
}


.rarity-option {
/* 列表容器 */
     flex: 1;
.list-container {
    padding: 8px;
     margin-bottom: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}
}


.rarity-option:hover {
.list-header {
     border-color: #1976d2;
    display: flex;
    justify-content: space-between;
    align-items: center;
     margin-bottom: 15px;
}
}


.rarity-option.selected {
.list-title {
     border-color: #1976d2;
     font-size: 16px;
    background: #e3f2fd;
     font-weight: bold;
     font-weight: bold;
    color: #333;
}
}


/* 神明选择 */
/* 空状态 */
.god-options {
.empty-state {
     display: flex;
     text-align: center;
     gap: 10px;
     padding: 40px 20px;
     flex-wrap: wrap;
     color: #999;
}
}


.god-option {
.empty-state-icon {
     padding: 8px 15px;
     font-size: 48px;
     border: 2px solid #ddd;
     margin-bottom: 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}
}


.god-option:hover {
.empty-state-text {
     border-color: #1976d2;
     font-size: 14px;
}
}


.god-option.selected {
/* 加载提示 */
     border-color: #1976d2;
.loading-indicator {
     background: #e3f2fd;
    position: fixed;
     font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px 30px;
     border-radius: 8px;
     z-index: 9999;
     font-size: 16px;
}
}


/* 类型选择 */
/* 复选框样式 */
.type-options {
.checkbox-wrapper {
     display: flex;
     display: flex;
     gap: 10px;
    align-items: center;
     gap: 8px;
    cursor: pointer;
    user-select: none;
}
}


.type-option {
.checkbox {
     flex: 1;
     width: 18px;
     padding: 8px;
     height: 18px;
     border: 2px solid #ddd;
     border: 2px solid #4a90e2;
     border-radius: 4px;
     border-radius: 3px;
     text-align: center;
    display: flex;
     cursor: pointer;
     align-items: center;
    justify-content: center;
     background: white;
     transition: all 0.2s;
     transition: all 0.2s;
}
}


.type-option:hover {
.checkbox.checked {
     border-color: #1976d2;
     background: #4a90e2;
}
}


.type-option.selected {
.checkbox.checked::after {
     border-color: #1976d2;
     content: "✓";
     background: #e3f2fd;
    color: white;
     font-size: 14px;
     font-weight: bold;
     font-weight: bold;
}
}


/* 分组选择 */
/* 滚动条美化 */
.group-options {
.card-input-section::-webkit-scrollbar,
    display: flex;
.card-list-section::-webkit-scrollbar,
    gap: 10px;
.card-preview-section::-webkit-scrollbar,
     flex-wrap: wrap;
.code-preview::-webkit-scrollbar,
.dropdown-menu::-webkit-scrollbar {
     width: 8px;
}
}


.group-option {
.card-input-section::-webkit-scrollbar-track,
    padding: 8px 15px;
.card-list-section::-webkit-scrollbar-track,
     border: 2px solid #ddd;
.card-preview-section::-webkit-scrollbar-track,
.code-preview::-webkit-scrollbar-track,
.dropdown-menu::-webkit-scrollbar-track {
     background: #f1f1f1;
     border-radius: 4px;
     border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}
}


.group-option:hover {
.card-input-section::-webkit-scrollbar-thumb,
     border-color: #1976d2;
.card-list-section::-webkit-scrollbar-thumb,
.card-preview-section::-webkit-scrollbar-thumb,
.code-preview::-webkit-scrollbar-thumb,
.dropdown-menu::-webkit-scrollbar-thumb {
    background: #888;
     border-radius: 4px;
}
}


.group-option.selected {
.card-input-section::-webkit-scrollbar-thumb:hover,
    border-color: #1976d2;
.card-list-section::-webkit-scrollbar-thumb:hover,
     background: #e3f2fd;
.card-preview-section::-webkit-scrollbar-thumb:hover,
    font-weight: bold;
.code-preview::-webkit-scrollbar-thumb:hover,
.dropdown-menu::-webkit-scrollbar-thumb:hover {
     background: #555;
}
}


/* 列表容器 */
/* 响应式设计 */
.list-container {
@media (max-width: 1400px) {
    margin-bottom: 20px;
    .card-manager {
        flex-direction: column;
    }
   
    .card-input-section,
    .card-list-section,
    .card-preview-section {
        flex: 1;
        max-height: none;
    }
}
}


.list-empty {
@media (max-width: 768px) {
     text-align: center;
     .card-manager {
    color: #999;
        padding: 10px;
     padding: 20px;
        gap: 10px;
     font-style: italic;
     }
   
    .card-input-section,
    .card-list-section,
    .card-preview-section {
        padding: 15px;
     }
   
    .button-group {
        flex-direction: column;
    }
   
    .btn {
        width: 100%;
    }
}
}

2025年10月24日 (五) 14:36的最新版本

/* 卡牌管理器容器 */
.card-manager {
    display: flex;
    gap: 20px;
    padding: 20px;
    font-family: sans-serif;
    background: #f5f5f5;
}

/* 左侧输入区 */
.card-input-section {
    flex: 0 0 350px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow-y: auto;
    max-height: 90vh;
}

/* 中间列表区 */
.card-list-section {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow-y: auto;
    max-height: 90vh;
}

/* 右侧预览区 */
.card-preview-section {
    flex: 0 0 400px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow-y: auto;
    max-height: 90vh;
}

/* 表单组 */
.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    font-family: sans-serif;
}

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

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

/* 下拉选择器样式 */
.form-select {
    background: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 30px;
}

/* 下拉菜单 */
.dropdown-menu {
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.dropdown-item {
    padding: 8px 12px;
    cursor: pointer;
}

.dropdown-item:hover {
    background: #f0f0f0;
}

/* 按钮组 */
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.btn {
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    border: 1px solid #ddd;
    background: white;
    transition: all 0.2s;
    user-select: none;
}

.btn:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-blue {
    background: #e3f2fd;
    border-color: #2196f3;
    color: #1976d2;
}

.btn-blue:hover {
    background: #bbdefb;
}

.btn-green {
    background: #e8f5e9;
    border-color: #4caf50;
    color: #388e3c;
}

.btn-green:hover {
    background: #c8e6c9;
}

.btn-primary {
    background: #4a90e2;
    color: white;
    border-color: #4a90e2;
}

.btn-primary:hover {
    background: #357abd;
}

.btn-danger {
    background: #f44336;
    color: white;
    border-color: #f44336;
}

.btn-danger:hover {
    background: #d32f2f;
}

.btn-success {
    background: #4caf50;
    color: white;
    border-color: #4caf50;
}

.btn-success:hover {
    background: #388e3c;
}

/* 卡牌项 */
.card-item {
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fafafa;
}

.card-item:hover {
    background: #f0f0f0;
    border-color: #4a90e2;
    transform: translateX(5px);
}

.card-item.active {
    background: #e3f2fd;
    border-color: #2196f3;
    border-width: 2px;
    padding: 11px; /* 补偿边框宽度 */
}

.card-item-name {
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
}

.card-item-info {
    font-size: 12px;
    color: #666;
}

/* 代码预览 */
.code-preview {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 15px;
    border-radius: 6px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 13px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-height: calc(90vh - 150px);
    overflow-y: auto;
}

/* 区块标题 */
.section-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4a90e2;
    color: #333;
}

/* 灵光一闪/神光一闪区域 */
.inspiration-section {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.inspiration-item {
    background: #f9f9f9;
    padding: 10px;
    margin-bottom: 10px;
    border-left: 3px solid #4a90e2;
    border-radius: 4px;
}

.inspiration-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.inspiration-item-title {
    font-weight: bold;
    color: #4a90e2;
}

/* 简化的灵光/神光列表项 */
.inspiration-item-simple {
    padding: 10px 12px;
    margin-bottom: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fafafa;
}

.inspiration-item-simple:hover {
    background: #f0f0f0;
    border-color: #9c27b0;
    transform: translateX(3px);
}

.inspiration-item-simple.active {
    background: #f3e5f5;
    border-color: #9c27b0;
    border-width: 2px;
    padding: 9px 11px; /* 补偿边框宽度 */
}

.inspiration-item-name {
    font-weight: bold;
    color: #9c27b0;
    margin-bottom: 4px;
    font-size: 13px;
}

.inspiration-item-info {
    font-size: 12px;
    color: #666;
}

/* 神明选择标签组 */
.god-select-group {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.god-tab {
    padding: 6px 12px;
    border-radius: 4px;
    background: #e0e0e0;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
    user-select: none;
}

.god-tab:hover {
    background: #d0d0d0;
}

.god-tab.active {
    background: #4a90e2;
    color: white;
}

/* 默认信息区 */
.default-info-section {
    background: #fff3e0;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border-left: 4px solid #ff9800;
}

/* 变体编辑区 */
.variant-edit-section {
    background: #f3e5f5;
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
    border-left: 4px solid #9c27b0;
}

/* 列表容器 */
.list-container {
    margin-bottom: 20px;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.list-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.empty-state-text {
    font-size: 14px;
}

/* 加载提示 */
.loading-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px 30px;
    border-radius: 8px;
    z-index: 9999;
    font-size: 16px;
}

/* 复选框样式 */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #4a90e2;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    transition: all 0.2s;
}

.checkbox.checked {
    background: #4a90e2;
}

.checkbox.checked::after {
    content: "✓";
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* 滚动条美化 */
.card-input-section::-webkit-scrollbar,
.card-list-section::-webkit-scrollbar,
.card-preview-section::-webkit-scrollbar,
.code-preview::-webkit-scrollbar,
.dropdown-menu::-webkit-scrollbar {
    width: 8px;
}

.card-input-section::-webkit-scrollbar-track,
.card-list-section::-webkit-scrollbar-track,
.card-preview-section::-webkit-scrollbar-track,
.code-preview::-webkit-scrollbar-track,
.dropdown-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.card-input-section::-webkit-scrollbar-thumb,
.card-list-section::-webkit-scrollbar-thumb,
.card-preview-section::-webkit-scrollbar-thumb,
.code-preview::-webkit-scrollbar-thumb,
.dropdown-menu::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.card-input-section::-webkit-scrollbar-thumb:hover,
.card-list-section::-webkit-scrollbar-thumb:hover,
.card-preview-section::-webkit-scrollbar-thumb:hover,
.code-preview::-webkit-scrollbar-thumb:hover,
.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 响应式设计 */
@media (max-width: 1400px) {
    .card-manager {
        flex-direction: column;
    }
    
    .card-input-section,
    .card-list-section,
    .card-preview-section {
        flex: 1;
        max-height: none;
    }
}

@media (max-width: 768px) {
    .card-manager {
        padding: 10px;
        gap: 10px;
    }
    
    .card-input-section,
    .card-list-section,
    .card-preview-section {
        padding: 15px;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}