:root {
    --color-up: #10b981;
    --color-down: #ef4444;
    --color-neutral: #6b7280;
    --color-primary: #3b82f6;
    --color-secondary: #8b5cf6;
    --color-warning: #f59e0b;
}

.bg-grid {
    background-image: 
        linear-gradient(to right, rgba(55, 65, 81, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(55, 65, 81, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* 移动端开始测试按钮样式 */
@media (max-width: 767px) {
    #mobile-test-button {
        width: 120px !important;
        max-width: 120px !important;
        flex: 0 0 auto !important;
        min-width: 120px !important;
    }
    
    /* 修复：移除多余的反斜杠，正确匹配md:hidden类 */
    .md\:hidden.flex.items-center.justify-end {
        justify-content: flex-end !important;
        gap: 0.5rem !important;
    }
}

/* 文章卡片样式 */
.article-card {
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* 分类标签样式 */
.category-tag {
    transition: all 0.2s ease;
}

.category-tag:hover,
.category-tag.active {
    background-color: var(--color-primary);
    color: white;
}