/* ========== F171b /v2 首页精简（用通配选择器，所有变体）========== */

/* === 隐藏冗余 section（用 [class*=...] 通配）=== */

/* 1. AI 特色区块（所有变体）*/
[class*="ai-feature"] { display: none !important; }

/* 2. 会员权益区块 */
[class*="membership"] { display: none !important; }

/* 3. Quick Actions / 快捷入口 */
[class*="quick-action"] { display: none !important; }
.quick-banner { display: none !important; }

/* 4. Bottom Nav 底部导航 */
[class*="bottom-nav"] { display: none !important; }
.bottom-nav { display: none !important; }

/* 5. 广告位 */
#ad-banner { display: none !important; }
[class*="ad-slot"] { display: none !important; }
[class*="ad-banner"] { display: none !important; }

/* 6. 实时战报 / 紧迫任务 / 法规 / 平台优势 */
[class*="real-time"], [class*="urgent-task"], [class*="legal-section"],
[class*="platform-advantages"], [class*="footer-legal"] { display: none !important; }

/* 7. 投标作战室的 quick-banner 子元素 */
.quick-banner { display: none !important; }

/* 8. Stats Bar - 紧凑化 */
.stats-bar {
    display: flex !important;
    gap: 8px !important;
    padding: 12px 16px !important;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6) !important;
    border-radius: 8px !important;
    margin: 8px 16px !important;
}

/* 9. 招标卡片紧凑 */
.tender-item {
    padding: 12px 16px !important;
    margin: 4px 0 !important;
    border-radius: 8px !important;
}

/* 10. 整体减少内边距 */
body { padding: 0 !important; }

/* === 调试：让隐藏生效更明显 === */
.v2-hidden { display: none !important; }

/* ========== F171c 数据看板紧凑 ========== */
.stats-bar {
    display: flex !important;
    gap: 6px !important;
    padding: 8px 12px !important;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%) !important;
    border-radius: 12px !important;
    margin: 8px 16px !important;
    box-shadow: 0 2px 8px rgba(30,64,175,0.15) !important;
}
.stats-bar > div, .stat-card {
    flex: 1 !important;
    text-align: center !important;
    padding: 8px 4px !important;
    background: rgba(255,255,255,0.15) !important;
    border-radius: 8px !important;
    color: white !important;
    margin: 0 !important;
}
.stat-value, .stat-card-value {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin-bottom: 2px !important;
}
.stat-label, .stat-card-label {
    font-size: 11px !important;
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500 !important;
}

/* ========== F171d 套餐折叠（默认 2 档 + 折叠全部）========== */

/* 套餐区块整体缩小 */
.membership-container {
    max-width: 800px !important;
    margin: 12px auto !important;
    padding: 0 16px !important;
}

/* 套餐 grid：默认 2 列 */
.membership-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
}

/* 第 3+ 个套餐默认隐藏（折叠） */
.membership-grid > *:nth-child(n+3) {
    display: none !important;
}

/* "查看全部" 按钮 */
.v2-expand-btn {
    display: block !important;
    width: 100% !important;
    margin-top: 8px !important;
    padding: 8px !important;
    background: white !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    text-align: center !important;
    color: #3b82f6 !important;
    font-size: 13px !important;
    cursor: pointer !important;
}

/* 展开状态（JS 控制） */
.membership-grid.v2-expanded > *:nth-child(n+3) {
    display: block !important;
}

/* ========== F171e 倒计时红色 ========== */

/* 7 天内截止：红色 + 加粗 */
.tender-item-meta .deadline-near {
    color: #dc2626 !important;
    font-weight: 700 !important;
    background: #fef2f2 !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
}
