/**
 * 工作流列表页面样式 - 深色主题
 */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #151519;
    --bg-tertiary: #1e1e24;
    --bg-hover: #252530;
    --border-color: #2a2a35;
    --border-light: #3a3a48;
    --text-primary: #f0f0f5;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --accent-primary: #C9FF85;
    --accent-secondary: #b8f070;
    --accent-light: rgba(201, 255, 133, 0.12);
    --accent-glow: rgba(201, 255, 133, 0.25);
    --danger: #ef4444;
    --danger-hover: #dc2626;
    --success: #10b981;
    --warning: #f59e0b;
    --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --card-shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.5);
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary) !important;
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
}

.app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-primary);
    min-height: 100vh;
}

/* 顶部导航 */


.header-center {
    flex: 1;
    max-width: 500px;
    margin: 0 40px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box svg {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    stroke: var(--text-muted);
    pointer-events: none;
}

.search-box input {
    width: 100%;
    padding: 12px 40px 12px 44px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 40px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all var(--transition-normal);
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background: var(--bg-secondary);
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-clear {
    position: absolute;
    right: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
}

.search-clear svg {
    position: static;
    width: 16px;
    height: 16px;
    stroke: var(--text-secondary);
}

.search-clear:hover {
    background: var(--bg-hover);
}

.search-clear:hover svg {
    stroke: var(--text-primary);
}

.search-box input:not(:placeholder-shown) + .search-clear {
    opacity: 1;
    visibility: visible;
}

.header-right {
    flex-shrink: 0;
}

.btn-create {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border: none;
    border-radius: 40px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-create:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--accent-glow);
}

.btn-create svg {
    width: 18px;
    height: 18px;
}

/* 主内容区 */
.main-content {
    flex: 1;
    padding: 32px 48px 48px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* 统计栏 */
.stats-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding: 16px 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--accent-primary);
    border-radius: var(--radius-lg);
    box-shadow: 0 0 20px rgba(201, 255, 133, 0.08);
}

.stats-info {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
}

.stats-count strong {
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 18px;
}

/* 搜索框样式 */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    stroke: var(--text-muted);
    pointer-events: none;
    transition: stroke var(--transition-fast);
}

.search-input {
    width: 280px;
    padding: 10px 40px 10px 42px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(201, 255, 133, 0.15);
}

.search-input:focus + .search-icon,
.search-box:focus-within .search-icon {
    stroke: var(--accent-primary);
}

.search-clear {
    position: absolute;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.search-clear svg {
    width: 14px;
    height: 14px;
    stroke: var(--text-muted);
    transition: stroke var(--transition-fast);
}

.search-clear:hover {
    background: rgba(255, 107, 107, 0.2);
}

.search-clear:hover svg {
    stroke: #ff6b6b;
}

.view-toggle {
    display: flex;
    gap: 0;
    padding: 0;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
}

.view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 36px;
    background: transparent !important;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
}

.view-btn + .view-btn {
    border-left: 1px solid var(--border-light);
}

.view-btn svg {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px;
    min-height: 18px;
    stroke: var(--text-muted);
    transition: all var(--transition-normal);
    flex-shrink: 0;
}

.view-btn:hover {
    background: var(--bg-hover) !important;
}

.view-btn:hover svg {
    stroke: var(--text-secondary);
}

.view-btn.active {
    background: var(--bg-hover) !important;
}

.view-btn.active svg {
    stroke: var(--text-primary);
}

.view-btn:active {
    transform: scale(0.95);
}

/* 工作流容器 */
.workflow-container {
    position: relative;
    min-height: 400px;
}

/* 加载状态 */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    color: var(--text-secondary);
}

.loading-spinner {
    width: 52px;
    height: 52px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 24px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 空状态 */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    text-align: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
 
}

.empty-state svg {
    width: 88px;
    height: 88px;
    stroke: var(--accent-primary);
    
    opacity: 0.7;
}

.empty-state h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 28px;
    font-size: 15px;
}

.btn-create-empty {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--accent-primary);
    border: none;
    border-radius: 8px;
    color: #0a0a0f;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 16px var(--accent-glow);
    line-height: 1;
    white-space: nowrap;
}

.btn-create-empty:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-glow);
    background: var(--accent-secondary);
}

.btn-create-empty svg {
    width: 20px;
    height: 20px;
    stroke: #0a0a0f;
    opacity: 1;
    flex-shrink: 0;
    display: block;
}

/* 工作流网格 */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.workflow-grid.list-view {
    grid-template-columns: 1fr;
    gap: 16px;
}

/* 工作流卡片 */
.workflow-card {
    position: relative;
    background: rgba(113, 113, 122, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.50);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition-normal);
    cursor: pointer;
    box-shadow: 0 4px 24px 0 rgba(148, 163, 184, 0.15);
}

.workflow-card:hover {
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px 0 rgba(148, 163, 184, 0.25);
}

.workflow-card:hover .card-actions {
    opacity: 1;
}

.card-preview {
    position: relative;
    aspect-ratio: 430 / 250;
    background: linear-gradient(135deg, #1a1a22 0%, #252530 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-preview::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(201, 255, 133, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(201, 255, 133, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

/* 缩略图封面样式 */
.preview-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-normal);
    z-index: 1;
}

.workflow-card:hover .preview-thumbnail {
    transform: scale(1.05);
}

.preview-nodes {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.preview-node {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.preview-node svg {
    width: 18px;
    height: 18px;
    stroke: rgba(255, 255, 255, 0.8);
}

.preview-connector {
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.2), rgba(201, 255, 133, 0.5));
    position: relative;
    border-radius: 2px;
}

.preview-connector::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: rgba(201, 255, 133, 0.5);
}

.card-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: opacity var(--transition-fast);
    z-index: 10;
}

.card-action-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 30, 38, 0.9);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
}

.card-action-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-secondary);
}

.card-action-btn:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: scale(1.08);
}

.card-action-btn:hover svg {
    stroke: #0a0a0f;
}

.card-action-btn.delete:hover {
    background: var(--danger);
    border-color: var(--danger);
}

.card-action-btn.delete:hover svg {
    stroke: #fff;
}

.card-body {
    padding: 20px 22px 22px;
}

.card-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

.card-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(201, 255, 133, 0.05);

    border-radius: 20px;
    color: var(--accent-primary);
    font-weight: 500;
    font-size: 12px;
}

.card-meta-item svg {
    width: 14px;
    height: 14px;
    stroke: var(--accent-primary);
}

.card-time {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.75);
}

/* 列表视图卡片 */
.workflow-grid.list-view .workflow-card {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.workflow-grid.list-view .card-preview {
    width: 150px;
    aspect-ratio: 430 / 250;
    flex-shrink: 0;
    margin: 12px;
    border-radius: 8px;
}

.workflow-grid.list-view .preview-nodes {
    transform: scale(0.7);
}

.workflow-grid.list-view .card-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
}

.workflow-grid.list-view .card-info {
    flex: 1;
}

.workflow-grid.list-view .card-title {
    margin-bottom: 4px;
}

.workflow-grid.list-view .card-meta {
    gap: 24px;
}

.workflow-grid.list-view .card-time {
    margin-top: 8px;
    margin-left: 0;
    padding-left: 0;
    padding-top: 0;
    border-top: none;
}

.workflow-grid.list-view .card-actions {
    position: absolute;
    top: 50%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    opacity: 1;
    margin-left: 0;
}

/* 分页 */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 48px;
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    box-shadow: var(--card-shadow);
}

.page-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.page-btn:hover:not(:disabled) {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #0a0a0f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.page-btn:hover:not(:disabled) svg {
    stroke: #0a0a0f;
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-btn svg {
    width: 16px;
    height: 16px;
    stroke: var(--text-secondary);
    transition: stroke var(--transition-fast);
}

/* 页码数字容器 */
.page-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 页码按钮 */
.page-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.page-number:hover:not(.active) {
    background: rgba(201, 255, 133, 0.1);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.page-number.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #0a0a0f;
    font-weight: 600;
    box-shadow: 0 4px 12px var(--accent-glow);
}

/* 页码省略号 */
.page-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    color: var(--text-muted);
    font-size: 14px;
    letter-spacing: 2px;
}

/* 上一页/下一页按钮 - 新样式 */
.page-btn.prev-btn,
.page-btn.next-btn {
    padding: 10px 14px;
}

.page-info {
    font-size: 15px;
    color: var(--text-secondary);
    padding: 0 16px;
}

.page-info span {
    color: var(--accent-primary);
    font-weight: 700;
}

/* 删除弹窗 */
.modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 90%;
    max-width: 420px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transform: scale(0.9) translateY(20px);
    transition: transform var(--transition-normal);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal.show .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.close-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.close-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-secondary);
}

.close-btn:hover {
    background: var(--border-light);
    transform: rotate(90deg);
}

.modal-body {
    padding: 32px 24px;
    text-align: center;
}

.delete-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
}

.delete-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--danger);
}

.modal-body p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.6;
}

.modal-body p span {
    color: var(--text-primary);
    font-weight: 600;
}

.delete-warning {
    font-size: 13px !important;
    color: var(--text-muted) !important;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-primary);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.btn-cancel {
    padding: 12px 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-cancel:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.btn-delete {
    padding: 12px 24px;
    background: var(--danger);
    border: none;
    border-radius: 50px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-delete:hover {
    background: var(--danger-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Toast 提示 */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.success {
    border-left: 4px solid var(--success);
}

.toast.error {
    border-left: 4px solid var(--danger);
}

.toast.warning {
    border-left: 4px solid var(--warning);
}

.toast svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.toast.success svg {
    stroke: var(--success);
}

.toast.error svg {
    stroke: var(--danger);
}

.toast.warning svg {
    stroke: var(--warning);
}

.toast span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

@keyframes slideIn {
    from {
        transform: translateX(100%) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}
.stats-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-create-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--accent-primary);
    color: #0a0a0f;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;

    font-style: normal;
    font-weight: 600;
}

.btn-create-new:hover {
    background: var(--accent-secondary);
    color: #0a0a0f;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201, 255, 133, 0.3);
}

.btn-create-new svg {
    width: 20px;
    height: 20px;
    stroke: #0a0a0f;
}
/* ========== 自定义导航栏样式 ========== */

.user-info {
  
    right: 2.208vw!important;
    top: 5.291vw!important;

}


.nav .menu {

    margin-right: 0vw!important;
}
.flex-yc{
    margin-left: 0.875vw;
}
.header {
    background: var(--bg-primary) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25) !important;
    height: 70px !important;
    padding: 0 2.208vw;
}

.header .headxin {
    height: 70px !important;
    background: transparent !important;
}

.header .logo {
    display: flex;
    align-items: center;
}

.header .logo a {
    display: inline-flex;
    align-items: center;
    color: var(--text-primary) !important;
    text-decoration: none;
}

.header .logo a svg {
    height: 28px;
    width: auto;
}

.header .logo a svg path {
    fill: var(--text-primary) !important;
}

.header .logo a img {
    height: 24px;
    width: auto;
}

.header .logo a span {
    color: #fff !important;
    margin-left: 16px;
    font-size: 16px;
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 700;
}

.header .logo .nav-slogan {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 400;
    white-space: nowrap;
}

.header .nav .menu li a,
.header .nav .menu li .btn-text {
    color: #fff !important;
    font-size: 14px;
}

.header .nav .menu li a:hover,
.header .nav .menu li .btn-text:hover {
    color: var(--text-primary) !important;
}
.header .nav .menu li{
    margin: 0 0.875vw !important;

}
/* 用户积分显示 */
.header .user-credits {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(30, 30, 35, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    color: var(--accent-primary);
    font-size: 13px;
    font-weight: 500;
    margin-left: 20px;
}

.header .user-credits img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.header .user-credits .credits-label {
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 2px;
}

/* 已登录用户头像 */
.header .loggedbox {
    margin-left: 16px;
}

.header .loggedbox .logged-simple {
    background: rgba(30, 30, 35, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 24px !important;
    padding: 6px 16px 6px 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.header .loggedbox .logged-simple .icon {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    overflow: hidden;
    flex-shrink: 0;
}

.header .loggedbox .logged-simple .icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header .loggedbox .logged-simple p {
    color: var(--text-primary) !important;
    font-size: 14px;
    margin: 0 !important;
}

/* 登录按钮样式 */
.header .signup-btn {
    background: rgba(30, 30, 35, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 24px !important;
    padding: 8px 16px !important;
    color: var(--text-primary) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer;
}

.header .signup-btn img {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.header .signup-btn:hover {
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.header .signup-btn .btn-text {
    line-height: 1;
}

.header .signup-btn .btn-fill {
    display: none !important;
}

/* 响应式 */
@media (max-width: 768px) {
    .header {
        padding: 12px 16px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .header-center {
        order: 3;
        flex: 0 0 100%;
        max-width: none;
        margin: 0;
    }

    .main-content {
        padding: 20px 16px 40px;
    }

    .stats-bar {
        flex-wrap: wrap;
        gap: 16px;
        padding: 14px 18px;
    }
    
    .stats-info {
        flex-wrap: wrap;
        gap: 12px;
        width: 100%;
    }
    
    .search-box {
        width: 100%;
        order: 2;
    }
    
    .search-input {
        width: 100%;
    }

    .workflow-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .workflow-card {
        border-radius: var(--radius-md);
    }

    .card-preview {
        aspect-ratio: 430 / 250;
    }

    .card-body {
        padding: 16px 18px 18px;
    }

    .btn-create span {
        display: none;
    }

    .btn-create {
        padding: 12px;
        border-radius: 50%;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 10px;
        padding: 16px;
    }

    .page-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .page-btn.prev-btn,
    .page-btn.next-btn {
        padding: 8px 12px;
    }
    
    .page-numbers {
        gap: 6px;
    }
    
    .page-number {
        min-width: 36px;
        height: 36px;
        padding: 0 8px;
        font-size: 13px;
    }
    
    .page-ellipsis {
        width: 24px;
    }
}

/* ===== 分享功能样式 ===== */

/* 卡片上的已公开标识 */
.card-shared-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(201, 255, 133, 0.15);
    border: 1px solid rgba(201, 255, 133, 0.3);
    border-radius: 20px;
    color: var(--accent-primary);
    font-size: 11px;
    font-weight: 500;
    z-index: 2;
    backdrop-filter: blur(8px);
}

.card-shared-badge svg {
    width: 12px;
    height: 12px;
    stroke: var(--accent-primary);
}

/* 分享按钮样式 */
.card-action-btn.share {
    background: var(--bg-tertiary);
}

.card-action-btn.share:hover {
    background: var(--accent-primary);
    color: #0a0a0f;
}

.card-action-btn.share:hover svg {
    stroke: #0a0a0f;
}

.card-action-btn.share.shared {
    background: rgba(201, 255, 133, 0.2);
    border-color: rgba(201, 255, 133, 0.4);
}

.card-action-btn.share.shared svg {
    stroke: var(--accent-primary);
}

.card-action-btn.share.shared:hover {
    background: var(--accent-primary);
}

.card-action-btn.share.shared:hover svg {
    stroke: #0a0a0f;
}

/* 分享弹窗样式 */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.share-modal.show,
.share-modal.open {
    opacity: 1;
    visibility: visible;
}

.share-modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 420px;
    transform: translateY(20px);
    transition: transform 0.2s ease;
}

.share-modal.show .share-modal-content,
.share-modal.open .share-modal-content {
    transform: translateY(0);
}

.share-modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.share-modal .modal-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.share-modal .close-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.share-modal .close-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-muted);
}

.share-modal .close-btn:hover {
    background: var(--bg-hover);
}

.share-modal .close-btn:hover svg {
    stroke: var(--text-primary);
}

.share-modal-body {
    padding: 24px;
}

.share-workflow-name {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.share-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.share-toggle-label {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

.share-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.share-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.share-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-tertiary);
    transition: 0.3s;
    border-radius: 24px;
    border: 1px solid var(--border-color);
}

.share-toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 3px;
    background-color: var(--text-muted);
    transition: 0.3s;
    border-radius: 50%;
}

.share-toggle input:checked + .share-toggle-slider {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.share-toggle input:checked + .share-toggle-slider:before {
    transform: translateX(20px);
    background-color: #0a0a0f;
}

/* 分享状态行 - 与 workflow.css 一致 */
.share-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.share-status-label {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

.share-status-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.share-link-section {
    transition: all 0.3s ease;
}

.share-link-section.hidden {
    display: none;
}

.share-link-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

/* 与 workflow.css 一致的样式 */
.share-link-input-wrap {
    display: flex;
    gap: 8px;
}

.share-link-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
}

.share-link-input {
    flex: 1;
    padding: 10px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 13px;
    outline: none;
    outline: none;
    min-width: 0;
}

.copy-link-btn {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-primary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-link-btn svg {
    width: 16px;
    height: 16px;
    stroke: #0a0a0f;
}

.copy-link-btn:hover {
    background: var(--accent-secondary);
    transform: scale(1.05);
}

/* 分享复制按钮 - 与 workflow.css 一致 */
.share-copy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--accent-primary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.share-copy-btn svg {
    width: 18px;
    height: 18px;
    stroke: #0a0a0a;
}

.share-copy-btn:hover {
    background: var(--accent-secondary);
    transform: translateY(-1px);
}

/* 覆盖 common.css 的白色背景样式 */
.share-modal .share-modal-content.modal-content,
.share-modal .share-modal-content {
    background: #1e1e24 !important;
    border: 1px solid #2a2a35 !important;
    border-radius: 20px !important;
    padding: 0 !important;
    max-width: 480px !important;
    width: 90% !important;
}

.share-modal .modal-header {
    background: transparent !important;
    border-bottom: 1px solid #2a2a35 !important;
}

.share-modal .modal-header h3 {
    color: #fff !important;
}

.share-modal .share-modal-body {
    background: transparent !important;
}

.share-modal .share-workflow-name {
    background: #151519 !important;
    color: #9ca3af !important;
}

.share-modal .share-toggle-label,
.share-modal .share-status-label {
    color: #f0f0f5 !important;
}

.share-modal .share-status-desc {
    color: #6b7280 !important;
}

.share-modal .share-link-label {
    color: #9ca3af !important;
}

.share-modal .share-link-wrapper,
.share-modal .share-link-input-wrap {
    background: transparent !important;
}

.share-modal .share-link-input-wrap .share-link-input {
    background: #151519 !important;
    border-color: #2a2a35 !important;
}

.share-modal .share-link-input {
    color: #f0f0f5 !important;
    background: transparent !important;
}

.share-modal .share-toggle-slider {
    background: #151519 !important;
    border-color: #2a2a35 !important;
}

/* checked 状态绿色背景 */
.share-modal .share-toggle input:checked + .share-toggle-slider {
    background-color: #bef264 !important;
    border-color: #bef264 !important;
}

.share-modal .share-toggle input:checked + .share-toggle-slider:before {
    background-color: #0a0a0f !important;
}

.share-modal .close-btn {
    background: transparent !important;
}

.share-modal .close-btn svg {
    stroke: #6b7280 !important;
}

.share-modal .close-btn:hover {
    background: #252530 !important;
}

.share-modal .close-btn:hover svg {
    stroke: #f0f0f5 !important;
}

/* ===== 工作流工具栏 - 新布局 ===== */
.workflow-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.toolbar-left {
    flex-shrink: 0;
}

.search-box-new {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box-new .search-icon {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    stroke: var(--text-muted);
    pointer-events: none;
}

.search-input-new {
    width: 448px;
    max-width: 100%;
    padding: 12px 40px 12px 44px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 40px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.search-input-new::placeholder {
    color: var(--text-muted);
}

.search-input-new:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(201, 255, 133, 0.15);
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stats-count-new {
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 400;
}

.stats-count-new strong {
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 18px;
}

/* 响应式工具栏 */
@media (max-width: 1200px) {
    .workflow-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .workflow-toolbar {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .search-input-new {
        width: 100%;
    }
    
    .toolbar-right {
        justify-content: space-between;
    }
    
    .workflow-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Hero Slogan 区域样式 ===== */
.hero-slogan {
    padding: 180px 48px 80px 0px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.slogan-title {
    font-size: 32px;
    font-weight: 500;
    background: linear-gradient(-20deg, #C9FF85 21.865%, #FAFFF4 93.8%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    line-height: 1.3;
}

.slogan-desc {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    max-width: 660px;
    margin: 0 auto;
}

/* ===== 社区板块样式 ===== */
.community-section {
    padding: 48px 48px 64px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

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

.community-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.community-label {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
}

.community-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.community-tab {
    padding: 8px 20px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.community-tab.active {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.community-tab:hover:not(.active) {
    color: rgba(255, 255, 255, 0.9);
}

/* 刺猬星球链接 */
.ciwei-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 17px;
    background: rgba(201, 255, 133, 0.05);
    border: 1px solid rgba(201, 255, 133, 0.15);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ciwei-link:hover {
    background: rgba(201, 255, 133, 0.1);
    border-color: rgba(201, 255, 133, 0.3);
}

.ciwei-icon {
    width: 18px;
    height: 16px;
}

.ciwei-text {
    font-size: 20px;
    font-weight: 600;
    color: #C9FF85;
}

.ciwei-go {
    font-size: 13px;
    font-weight: 400;
    color: #fff;
    text-transform: uppercase;
}

/* 社区卡片网格 */
.community-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.community-loading,
.community-empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
    color: var(--text-secondary);
}

/* 社区加载动画 - 与工作流区域保持一致 */
.community-loading::before {
    content: '';
    display: block;
    width: 52px;
    height: 52px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 24px;
}

.community-loading-more {
    grid-column: 1 / -1;
    text-align: center;
    padding: 32px 0;
    color: var(--text-muted);
    font-size: 14px;
}

.community-loading-more::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid var(--border-color);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.community-no-more {
    grid-column: 1 / -1;
    text-align: center;
    padding: 32px 0 16px;
    color: var(--text-muted);
    font-size: 13px;
    opacity: 0.6;
}

/* 社区卡片 */
.community-card {
    background: rgba(113, 113, 122, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.community-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.community-card-cover {
    position: relative;
    aspect-ratio: 270 / 157;
    background: linear-gradient(135deg, #1a1a22 0%, #252530 100%);
    overflow: hidden;
}

.community-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 封面文字叠加层（图片上的文字） */
.community-cover-text-layer {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    z-index: 2;
    pointer-events: none;
}

.community-cover-text-layer .cover-text {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
}

.community-cover-text-layer .cover-subtext {
    font-size: 11px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    margin-top: 4px;
}

/* 社区卡片封面占位样式 */
.community-cover-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.community-cover-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(201, 255, 133, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
}

.community-cover-placeholder.cover-style-2 {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a7b 50%, #1e3a5f 100%);
}

.community-cover-placeholder.cover-style-2::before {
    background: 
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(201, 255, 133, 0.1) 0%, transparent 40%);
}

.community-cover-placeholder.cover-style-3 {
    background: linear-gradient(135deg, #2d2d44 0%, #1a1a2e 50%, #0d0d1a 100%);
}

.community-cover-placeholder.cover-style-3::before {
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(201, 255, 133, 0.08) 0%, transparent 40%);
}

.cover-text {
    font-size: 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    position: relative;
    z-index: 1;
}

.cover-subtext {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    margin-top: 8px;
    position: relative;
    z-index: 1;
}

/* 作者头像占位 */
.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.author-avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #C9FF85 0%, #95FF0F 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #0a0a0f;
}

.community-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
}

.community-card-actions {
    position: absolute;
    bottom: 16px;
    right: 18px;
    display: flex;
    gap: 12px;
}

.community-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 11px;
    background: rgba(201, 255, 133, 0.15);
    border: 1px solid rgba(201, 255, 133, 0.29);
    border-radius: 6px;
    color: #C9FF85;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.community-action-btn:hover {
    background: rgba(201, 255, 133, 0.25);
    border-color: rgba(201, 255, 133, 0.5);
}

.community-action-btn svg {
    width: 13px;
    height: 13px;
}

.community-card-body {
    padding: 20px;
}

.community-card-title {
    font-size: 17px;
    font-weight: 600;
    color: #f0f0f5;
    line-height: 1.4;
    margin-bottom: 12px;
    letter-spacing: -0.26px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.community-card-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #000;
    object-fit: cover;
}

.author-name {
    font-size: 14px;
    font-weight: 400;
    color: #a1a1a1;
}

/* 响应式 */
@media (max-width: 1200px) {
    .community-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-slogan {
        padding: 30px 20px 0;
    }
    
    .slogan-title {
        font-size: 24px;
    }
    
    .slogan-desc {
        font-size: 13px;
    }
    
    .community-section {
        padding: 32px 16px;
    }
    
    .community-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .community-left {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .ciwei-link {
        width: 100%;
        justify-content: space-between;
    }
    
    .community-grid {
        grid-template-columns: 1fr;
    }
    
    .community-card-actions {
        bottom: 12px;
        right: 12px;
        gap: 8px;
    }
    
    .community-action-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
}
