/* ==================== 全局样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #0f0f14;
    --bg-sidebar: rgba(15, 15, 20, 0.95);
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-active: rgba(99, 102, 241, 0.3);
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --accent: #0ea5e9;
    --success: #10b981;
    --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
    --card-shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(99, 102, 241, 0.2);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-color);
    min-height: 100vh;
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ==================== 背景 ==================== */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

.bg-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    filter: blur(80px);
}

.glow-1 {
    top: -150px;
    left: -150px;
}

.glow-2 {
    bottom: -150px;
    right: -150px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.06) 0%, transparent 70%);
}

/* ==================== 主容器 ==================== */
.main-container {
    display: flex;
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

/* ==================== 左侧边栏 ==================== */
.sidebar {
    width: 300px;
    min-height: 100vh;
    padding: 40px 28px;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
}

/* 头像区域 */
.profile-section {
    margin-bottom: 32px;
}

.avatar-container {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    position: relative;
}

.avatar-ring {
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0.8;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1e1b4b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 600;
    color: #fff;
    position: relative;
    z-index: 1;
}

.profile-name {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.profile-title {
    font-size: 13px;
    color: var(--primary-light);
    margin-bottom: 16px;
    font-weight: 500;
}

.profile-bio {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

/* 边栏分区 */
.sidebar-section {
    margin-bottom: 28px;
}

.sidebar-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 500;
}

/* 导航链接 */
.nav-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-link {
    padding: 11px 14px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
}

.nav-link.active {
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary-light);
    font-weight: 500;
}

.nav-link-icon {
    font-size: 16px;
}

/* 社交链接 */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.social-link {
    padding: 9px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 13px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-light);
    color: var(--primary-light);
}

/* 统计数据 */
.stats-grid {
    display: flex;
    gap: 16px;
}

.stat-item {
    flex: 1;
}

.stat-value {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2px;
}

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
}

/* ==================== 主内容区 ==================== */
.content {
    flex: 1;
    padding: 40px 50px;
    max-width: 1400px;
}

/* 搜索栏 */
.search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 36px;
    transition: all 0.2s ease;
}

.search-bar:focus-within {
    border-color: var(--primary);
    background: var(--bg-card-hover);
}

.search-icon {
    font-size: 18px;
    opacity: 0.5;
    color: var(--text-muted);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 14px;
}

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

/* 内容容器 */
.content-container {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== 页面标题 ==================== */
.page-header {
    margin-bottom: 36px;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.page-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ==================== 分类板块 ==================== */
.category {
    margin-bottom: 44px;
}

.category:last-child {
    margin-bottom: 0;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.category-icon {
    width: 36px;
    height: 36px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.category-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ==================== 工具卡片 ==================== */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s ease;
    box-shadow: var(--card-shadow);
}

.tool-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-color-active);
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
}

.tool-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.tool-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-dark), #1e1b4b);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.tool-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.tool-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 14px;
    flex: 1;
}

.tool-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.tool-tag {
    padding: 4px 10px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 6px;
    font-size: 11px;
    color: var(--primary-light);
    font-weight: 500;
}

.tool-actions {
    display: flex;
    gap: 8px;
}

.tool-btn {
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tool-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-light);
}

.tool-btn.primary {
    background: var(--primary);
    border-color: var(--primary);
}

.tool-btn.primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
}

/* ==================== 提示词卡片 ==================== */
.prompt-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s ease;
    box-shadow: var(--card-shadow);
}

.prompt-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-color-active);
}

.prompt-header {
    margin-bottom: 12px;
}

.prompt-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.prompt-content {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 14px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    margin-bottom: 14px;
    border-left: 3px solid var(--primary);
    white-space: pre-wrap;
}

.prompt-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prompt-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.copy-btn {
    padding: 7px 14px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 8px;
    color: var(--primary-light);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.copy-btn:hover {
    background: rgba(99, 102, 241, 0.25);
}

/* ==================== Skills 资源卡片 ==================== */
.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s ease;
    display: flex;
    gap: 16px;
    box-shadow: var(--card-shadow);
}

.skill-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-color-active);
    transform: translateX(3px);
}

.skill-icon {
    width: 44px;
    height: 44px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.skill-content {
    flex: 1;
}

.skill-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.skill-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.skill-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.skill-type {
    display: inline-block;
    padding: 3px 8px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 4px;
    font-size: 11px;
    color: var(--primary-light);
    font-weight: 500;
}

/* ==================== 空状态 ==================== */
.empty-state {
    text-align: center;
    padding: 80px 40px;
}

.empty-icon {
    font-size: 56px;
    margin-bottom: 16px;
    opacity: 0.4;
}

.empty-title {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.empty-desc {
    font-size: 13px;
    color: var(--text-muted);
}

/* ==================== Toast 通知 ==================== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(15, 15, 20, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-icon {
    width: 20px;
    height: 20px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 12px;
}

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

/* ==================== 响应式 ==================== */
@media (max-width: 1024px) {
    .sidebar {
        width: 280px;
        padding: 35px 24px;
    }

    .content {
        padding: 35px 30px;
    }

    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        position: relative;
        min-height: auto;
        padding: 30px 20px;
    }

    .content {
        padding: 30px 20px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        gap: 12px;
    }

    .nav-section {
        margin-top: 0;
    }
}

/* ==================== 滚动条样式 ==================== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.4);
}

/* ==================== 搜索加载动画 ==================== */
.search-loading {
    animation: spin 1s linear infinite;
    display: inline-block;
}

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

/* ==================== 排序筛选控件 ==================== */
.sort-filter-controls {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: rgba(15, 15, 20, 0.98);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    min-width: 180px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    z-index: 100;
    padding: 8px 0;
    backdrop-filter: blur(10px);
}

.dropdown-content.show {
    display: block;
    animation: fadeIn 0.15s ease-out;
}

.dropdown-item {
    padding: 10px 16px;
    color: var(--text-primary);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-item:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-light);
}

.dropdown-item.active {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-light);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 6px 0;
}

/* ==================== 收藏功能 ==================== */
.favorite-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 18px;
}

.favorite-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
}

.favorite-btn.active {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--primary);
    color: #fbbf24;
}

/* ==================== 拖拽排序 ==================== */
.drag-handle {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: move;
    opacity: 0;
    transition: all 0.2s ease;
    font-size: 14px;
    color: var(--text-muted);
}

.tool-card:hover .drag-handle,
.prompt-card:hover .drag-handle {
    opacity: 1;
}

.tool-card.dragging {
    opacity: 0.5;
    transform: scale(1.02);
}

/* ==================== 提示词编辑按钮 ==================== */
.edit-btn {
    padding: 7px 14px;
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 8px;
    color: var(--accent);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.edit-btn:hover {
    background: rgba(14, 165, 233, 0.25);
}

/* ==================== 模态窗口 ==================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    animation: fadeIn 0.2s ease-out;
}

.modal-content {
    background: rgba(15, 15, 20, 0.98);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 800px;
    max-width: 90vw;
    height: 600px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

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

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

.modal-close {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 20px;
    color: var(--text-muted);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.modal-body {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

.modal-editor {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.7;
    resize: none;
    outline: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.modal-editor:focus {
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.4);
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid var(--border-color);
}

/* ==================== 全屏查看 ==================== */
.fullscreen-view {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 90vh;
    background: rgba(15, 15, 20, 0.98);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    z-index: 2500;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.fullscreen-view.show {
    display: flex;
    animation: fadeIn 0.2s ease-out;
}

.fullscreen-content {
    width: 90vw;
    max-width: 1000px;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
    padding: 40px;
}

.fullscreen-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.fullscreen-body {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-primary);
    white-space: pre-wrap;
}

.fullscreen-body strong {
    color: var(--primary-light);
    font-weight: 600;
}

.fullscreen-body code {
    background: rgba(99, 102, 241, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.95em;
}

.fullscreen-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    border-bottom: 1px solid var(--border-color);
}

.fullscreen-title-line {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.fullscreen-close-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fullscreen-close-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
}

.fullscreen-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    border-top: 1px solid var(--border-color);
}

.fullscreen-hint {
    font-size: 12px;
    color: var(--text-muted);
}

.fullscreen-actions {
    display: flex;
    gap: 12px;
}

/* ==================== 移动端底部标签栏 ==================== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 20, 0.98);
    border-top: 1px solid var(--border-color);
    padding: 12px 16px;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 4px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-nav-item:hover {
    color: var(--text-primary);
}

.mobile-nav-item.active {
    color: var(--primary-light);
    background: rgba(99, 102, 241, 0.1);
}

.mobile-nav-icon {
    font-size: 20px;
}

.mobile-nav-label {
    font-size: 11px;
    font-weight: 500;
}

/* 移动端内容底部 padding */
.mobile-content-padding {
    padding-bottom: 80px;
}

/* ==================== 响应式 ==================== */
@media (max-width: 1024px) {
    .sidebar {
        width: 280px;
        padding: 35px 24px;
    }

    .content {
        padding: 35px 30px;
    }

    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        position: relative;
        min-height: auto;
        padding: 30px 20px;
    }

    .nav-section {
        display: none;
    }

    .mobile-bottom-nav {
        display: flex;
        gap: 8px;
    }

    .content {
        padding: 30px 20px;
    }

    .content {
        padding-bottom: 100px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        gap: 12px;
    }

    .nav-section {
        margin-top: 0;
    }

    .modal-content {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
    }

    .fullscreen-content {
        width: 100%;
        padding: 20px;
    }

    .fullscreen-header,
    .fullscreen-footer {
        padding: 16px 20px;
    }

    .sort-filter-controls {
        flex-direction: column;
        gap: 8px;
    }

    .dropdown-btn {
        width: 100%;
        justify-content: space-between;
    }

    .dropdown-content {
        position: fixed;
        left: 20px !important;
        right: 20px;
        width: auto;
    }
}
