/* ========== 全局重置 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: #f0f2f5;
    color: #333;
    line-height: 1.6;
    font-size: 14px;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; outline: none; }
input, textarea { outline: none; }

/* ========== 变量定义 ========== */
:root {
    --primary: #1a56db;
    --primary-light: #3b82f6;
    --primary-dark: #1e40af;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --text: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --border: #e5e7eb;
    --bg: #f0f2f5;
    --bg-white: #ffffff;
    --bg-hover: #f9fafb;
    --shadow: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-hover: 0 4px 12px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-sm: 4px;
}

/* ========== 顶部导航 ========== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    box-shadow: var(--shadow);
    height: 60px;
}
.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
}
.logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}
.nav-menu {
    display: flex;
    gap: 4px;
    flex: 1;
}
.nav-item {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
}
.nav-item:hover, .nav-item.active {
    color: var(--primary);
    background: rgba(26, 86, 219, 0.08);
}
.search-box {
    position: relative;
    width: 280px;
}
.search-box input {
    width: 100%;
    height: 38px;
    padding: 0 40px 0 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.2s;
    background: var(--bg);
}
.search-box input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}
.search-box .search-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.btn {
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.3);
}
.btn-accent {
    background: var(--accent);
    color: #fff;
}
.btn-accent:hover {
    background: #d97706;
}
.btn-outline {
    border: 1px solid var(--border);
    color: var(--text);
    background: #fff;
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

/* ========== 主体布局 ========== */
.main-container {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 220px 1fr 300px;
    gap: 20px;
}
.sidebar-left, .sidebar-right {
    position: sticky;
    top: 80px;
    align-self: start;
}
.main-content {
    min-width: 0;
}

/* ========== 左侧边栏 ========== */
.panel {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 16px;
    overflow: hidden;
}
.panel-header {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.panel-body { padding: 8px; }
.category-list .category-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-secondary);
}
.category-list .category-item:hover {
    background: var(--bg-hover);
    color: var(--primary);
}
.category-list .category-item.active {
    background: rgba(26, 86, 219, 0.08);
    color: var(--primary);
    font-weight: 500;
}
.category-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.category-item .count {
    margin-left: auto;
    font-size: 12px;
    color: var(--text-light);
    background: var(--bg);
    padding: 2px 8px;
    border-radius: 10px;
}
.site-stats {
    padding: 12px 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.stat-item {
    text-align: center;
}
.stat-num {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}
.stat-label {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 2px;
}

/* ========== 轮播Banner ========== */
.banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #1a56db 50%, #3b82f6 100%);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 16px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.banner::before {
    content: '';
    position: absolute;
    right: -50px;
    top: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}
.banner::after {
    content: '';
    position: absolute;
    right: 60px;
    bottom: -80px;
    width: 150px;
    height: 150px;
    background: rgba(245, 158, 11, 0.2);
    border-radius: 50%;
}
.banner h2 {
    font-size: 24px;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}
.banner p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.banner .banner-btns {
    display: flex;
    gap: 12px;
    position: relative;
    z-index: 1;
}
.banner .btn-white {
    background: #fff;
    color: var(--primary);
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.2s;
}
.banner .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.banner .btn-outline-white {
    border: 1px solid rgba(255,255,255,0.5);
    color: #fff;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: all 0.2s;
}
.banner .btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
}

/* ========== 帖子列表 ========== */
.post-tabs {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    background: #fff;
    border-radius: var(--radius) var(--radius) 0 0;
}
.post-tab {
    padding: 6px 16px;
    border-radius: 20px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.2s;
}
.post-tab:hover { color: var(--primary); }
.post-tab.active {
    background: var(--primary);
    color: #fff;
}
.post-list {
    background: #fff;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow);
}
.post-item {
    display: flex;
    gap: 14px;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
    cursor: pointer;
}
.post-item:last-child { border-bottom: none; }
.post-item:hover { background: var(--bg-hover); }
.post-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
}
.post-body { flex: 1; min-width: 0; }
.post-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.post-title:hover { color: var(--primary); }
.tag {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: 500;
    flex-shrink: 0;
}
.tag-top { background: #fee2e2; color: #dc2626; }
.tag-hot { background: #fef3c7; color: #d97706; }
.tag-good { background: #d1fae5; color: #059669; }
.tag-new { background: #dbeafe; color: #2563eb; }
.post-excerpt {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: var(--text-light);
}
.post-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}
.post-meta .author { color: var(--primary); }
.post-stats {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}
.post-stat {
    text-align: center;
    min-width: 50px;
}
.post-stat-num {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}
.post-stat-label {
    font-size: 11px;
    color: var(--text-light);
}

/* ========== 右侧边栏 ========== */
.user-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    padding: 20px;
    text-align: center;
}
.user-card-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
}
.user-card-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}
.user-card-desc {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 12px;
}
.user-card .btn-white {
    background: #fff;
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
}
.hot-list { padding: 8px 0; }
.hot-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.2s;
}
.hot-item:hover { background: var(--bg-hover); }
.hot-rank {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
    background: var(--bg);
    color: var(--text-light);
}
.hot-item:nth-child(1) .hot-rank { background: #ef4444; color: #fff; }
.hot-item:nth-child(2) .hot-rank { background: #f97316; color: #fff; }
.hot-item:nth-child(3) .hot-rank { background: #f59e0b; color: #fff; }
.hot-title {
    font-size: 13px;
    color: var(--text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hot-item:hover .hot-title { color: var(--primary); }
.active-users { padding: 12px 16px; }
.active-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}
.active-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
}
.active-user-info { flex: 1; min-width: 0; }
.active-user-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
}
.active-user-posts {
    font-size: 11px;
    color: var(--text-light);
}
.announcement {
    padding: 12px 16px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}
.announcement-item {
    padding: 6px 0;
    border-bottom: 1px dashed var(--border);
}
.announcement-item:last-child { border-bottom: none; }
.announcement-item::before {
    content: '📢 ';
}

/* ========== 分页 ========== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 20px;
    background: #fff;
    border-radius: 0 0 var(--radius) var(--radius);
    margin-top: -1px;
}
.page-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.2s;
}
.page-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.page-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ========== 帖子详情页 ========== */
.post-detail {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    margin-bottom: 16px;
}
.post-detail-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    margin-bottom: 20px;
}
.post-detail-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.4;
}
.post-detail-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-light);
    flex-wrap: wrap;
}
.post-detail-meta .author-info {
    display: flex;
    align-items: center;
    gap: 8px;
}
.post-detail-meta .author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}
.post-detail-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
}
.post-detail-content h3 {
    font-size: 17px;
    margin: 20px 0 10px;
    color: var(--text);
}
.post-detail-content p {
    margin-bottom: 12px;
}
.post-detail-content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 16px;
    border-radius: var(--radius-sm);
    overflow-x: auto;
    font-size: 13px;
    margin: 12px 0;
}
.post-detail-content code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 13px;
    color: #e11d48;
}
.post-detail-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}
.post-detail-content ul, .post-detail-content ol {
    margin: 12px 0;
    padding-left: 24px;
}
.post-detail-content li {
    margin-bottom: 6px;
}
.post-detail-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.action-btn {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
}
.action-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(26, 86, 219, 0.04);
}
.action-btn.liked {
    color: var(--danger);
    border-color: var(--danger);
    background: rgba(239, 68, 68, 0.04);
}
.related-posts {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    margin-bottom: 16px;
}
.related-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}
.related-list li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--border);
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 14px;
}
.related-list li:hover { color: var(--primary); }
.related-list li:last-child { border-bottom: none; }

/* ========== 插件/模板卡片 ========== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.resource-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}
.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.resource-thumb {
    height: 160px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #fff;
    position: relative;
}
.resource-thumb .badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent);
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}
.resource-info {
    padding: 16px;
}
.resource-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}
.resource-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}
.resource-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-light);
}
.resource-meta .downloads {
    display: flex;
    align-items: center;
    gap: 4px;
}
.resource-meta .version {
    background: var(--bg);
    padding: 2px 8px;
    border-radius: 10px;
}
.filter-bar {
    background: #fff;
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}
.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}
.filter-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}
.filter-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.filter-tag {
    padding: 4px 12px;
    border-radius: 14px;
    font-size: 12px;
    cursor: pointer;
    background: var(--bg);
    color: var(--text-secondary);
    transition: all 0.2s;
}
.filter-tag:hover { color: var(--primary); }
.filter-tag.active {
    background: var(--primary);
    color: #fff;
}

/* ========== FAQ ========== */
.faq-list {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
    color: var(--text);
    transition: background 0.2s;
}
.faq-question:hover { background: var(--bg-hover); }
.faq-question .q-icon {
    color: var(--primary);
    font-weight: 700;
    margin-right: 10px;
}
.faq-question .arrow {
    transition: transform 0.3s;
    color: var(--text-light);
}
.faq-item.open .faq-question .arrow {
    transform: rotate(180deg);
}
.faq-answer {
    display: none;
    padding: 0 20px 16px 44px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}
.faq-item.open .faq-answer {
    display: block;
}

/* ========== 跑路黑名单 ========== */
.blacklist-table {
    width: 100%;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border-collapse: collapse;
}
.blacklist-table th {
    background: #fef2f2;
    color: #dc2626;
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    border-bottom: 2px solid #fecaca;
}
.blacklist-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-secondary);
}
.blacklist-table tr:hover { background: var(--bg-hover); }
.blacklist-table .platform-name {
    color: var(--text);
    font-weight: 500;
}
.blacklist-table .status {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}
.status-ran { background: #fee2e2; color: #dc2626; }
.status-risk { background: #fef3c7; color: #d97706; }
.status-normal { background: #d1fae5; color: #059669; }

/* ========== 底部 ========== */
.footer {
    background: #1e293b;
    color: #94a3b8;
    padding: 40px 0 20px;
    margin-top: 40px;
}
.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}
.footer-brand h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 12px;
}
.footer-brand p {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 12px;
}
.footer-col h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 16px;
}
.footer-col li {
    margin-bottom: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: color 0.2s;
}
.footer-col li:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    line-height: 1.8;
}
.footer-bottom a {
    color: #94a3b8;
    margin: 0 8px;
}
.footer-bottom a:hover { color: #fff; }

/* ========== 面包屑 ========== */
.breadcrumb {
    padding: 12px 0;
    font-size: 13px;
    color: var(--text-light);
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 6px; }

/* ========== 页面标题区 ========== */
.page-header {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.page-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
}
.page-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ========== CTA转化区 ========== */
.cta-box {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: var(--radius);
    padding: 20px;
    margin: 16px 0;
    border-left: 4px solid var(--accent);
}
.cta-box h4 {
    color: #92400e;
    font-size: 16px;
    margin-bottom: 8px;
}
.cta-box p {
    color: #78350f;
    font-size: 13px;
    margin-bottom: 12px;
}
.cta-box .btn {
    background: var(--accent);
    color: #fff;
}

/* ========== 响应式 ========== */
@media (max-width: 1200px) {
    .main-container {
        grid-template-columns: 200px 1fr 260px;
    }
}
@media (max-width: 992px) {
    .main-container {
        grid-template-columns: 1fr;
    }
    .sidebar-left, .sidebar-right {
        position: static;
    }
    .sidebar-left { order: 2; }
    .main-content { order: 1; }
    .sidebar-right { order: 3; }
    .nav-menu { display: none; }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}
@media (max-width: 576px) {
    .header-inner { padding: 0 12px; gap: 10px; }
    .search-box { width: 160px; }
    .logo span { display: none; }
    .main-container { padding: 0 12px; }
    .banner { padding: 20px; }
    .banner h2 { font-size: 18px; }
    .post-item { flex-direction: column; }
    .post-stats { justify-content: flex-start; }
    .card-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .blacklist-table { font-size: 12px; }
    .blacklist-table th, .blacklist-table td { padding: 8px; }
}
