
.top-bar { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; align-items: center; }
.filter-group { display: flex; background: #fff; border: 1px solid #d0d9e5; border-radius: 6px; padding: 3px; flex-shrink: 0; }
.filter-btn { padding: 6px 16px; border: none; background: transparent; font-size: 14px; color: var(--sub); cursor: pointer; border-radius: 5px; font-weight: 600; transition: 0.2s; white-space: nowrap; }
.filter-btn:hover { color: var(--blue); }
.filter-btn.active { background: var(--blue); color: #fff; }
.ad-banner { flex: 1; min-width: 320px; background: linear-gradient(to right, #eff6ff, #e0f2fe); border: 1px solid #bfdbfe; border-radius: 6px; padding: 0 16px; height: 44px; display: flex; align-items: center; justify-content: space-between; overflow: hidden; position: relative; }
.ad-tag { position: absolute; top: 0; right: 0; background: rgba(0,0,0,0.05); font-size: 10px; padding: 2px 6px; color: #64748b; border-bottom-left-radius: 6px; }
.ad-main { font-size: 15px; font-weight: bold; color: #1e3a8a; display: flex; align-items: center; gap: 8px; }
.ad-main .highlight { background: #ef4444; color: #fff; font-size: 11px; padding: 2px 6px; border-radius: 4px; }
.ad-main .desc { font-size: 12px; color: var(--blue); font-weight: normal; margin-left: 4px; }
.ad-btn { background: var(--blue); color: #fff; border: none; padding: 5px 14px; border-radius: 5px; cursor: pointer; font-weight: bold; transition: 0.2s; font-size: 13px; }
.ad-btn:hover { background: #3b72ea; }

.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.tool-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.tool-card:hover {
    border-color: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(75, 130, 255, 0.10);
}
.tool-head { padding: 18px 20px 14px; border-bottom: 1px dashed #e7edf5; display: flex; align-items: center; justify-content: space-between; }
.tool-title-wrapper { display: flex; align-items: center; gap: 8px; }
.tool-icon { width: 38px; height: 38px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tool-icon svg { width: 20px; height: 20px; }
.tool-title { font-size: 16px; font-weight: 700; color: var(--text); margin: 0; }
.tool-body { padding: 12px 20px 18px; flex: 1; }
.tool-desc { font-size: 13px; color: var(--sub); line-height: 1.7; margin: 0; }
.tag { font-size: 11px; padding: 3px 8px; border-radius: 4px; font-weight: 700; display: inline-flex; align-items: center; }
.tag-v4 { background: #eff6ff; color: var(--blue); border: 1px solid #bfdbfe; }
.tag-v6 { background: #fff7ed; color: #f97316; border: 1px solid #fed7aa; }
.tag-query { background: #eff6ff; color: var(--blue); border: 1px solid #bfdbfe; }
.tag-free { background: #fef2f2; color: #ef4444; border: 1px solid #fecaca; }

.bottom-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.col-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.col-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid #e7edf5; background: #fafcff; }
.col-title { font-size: 14px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 6px; }
.col-title::before { content: ""; display: inline-block; width: 3px; height: 16px; background: var(--blue); border-radius: 2px; }
.col-more { font-size: 13px; color: var(--sub); font-weight: 500; }
.col-more:hover { color: var(--blue); }
.article-list { padding: 8px 18px; }
.article-item { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px dashed #f0f3f8; font-size: 13px; cursor: pointer; transition: background 0.15s; }
.article-item:last-child { border-bottom: none; }
.article-item-left { display: flex; align-items: center; gap: 6px; overflow: hidden; flex: 1; }
.article-dot { width: 4px; height: 4px; background: #cbd5e1; border-radius: 50%; flex-shrink: 0; }
.article-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.article-item:hover .article-title { color: var(--blue); }
.article-date { font-size: 11px; color: #94a3b8; flex-shrink: 0; margin-left: 10px; }

.sponsor-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 18px 22px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.section-title-block {
    font-size: 14px; font-weight: 700; color: var(--text);
    margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid #e7edf5;
    display: flex; align-items: center; gap: 6px;
}
.section-title-block::before { content: ""; width: 3px; height: 14px; background: var(--blue); border-radius: 2px; display: inline-block; }
.sponsor-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.sponsor-item {
    display: inline-flex; align-items: center; justify-content: center; gap: 5px;
    padding: 6px 14px; min-width: 90px; height: 36px;
    border: 1px solid #e2e8f0; border-radius: 6px;
    font-size: 13px; font-weight: 600;
    text-decoration: none; transition: all 0.2s; cursor: pointer;
}
.sponsor-item:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.sponsor-item img { height: 18px; margin-right: 3px; }

.sponsor-color-0 { background: #eff6ff; color: #2563eb; border-color: #bfdbfe; }
.sponsor-color-1 { background: #fef2f2; color: #dc2626; border-color: #fecaca; }
.sponsor-color-2 { background: #ecfdf5; color: #059669; border-color: #a7f3d0; }
.sponsor-color-3 { background: #fffbeb; color: #d97706; border-color: #fde68a; }
.sponsor-color-4 { background: #faf5ff; color: #7c3aed; border-color: #ddd6fe; }
.sponsor-color-5 { background: #fff1f2; color: #e11d48; border-color: #fecdd3; }
.sponsor-color-6 { background: #f0fdf4; color: #16a34a; border-color: #bbf7d0; }
.sponsor-color-7 { background: #fefce8; color: #ca8a04; border-color: #fef08a; }

.links-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.links-list { display: flex; flex-wrap: wrap; gap: 8px; }
.links-list a { padding: 4px 12px; background: #f1f5f9; color: var(--sub); border-radius: 4px; font-size: 12px; transition: 0.2s; }
.links-list a:hover { background: var(--blue); color: #fff; }
