/* --- Hashtag Filter (Home page) --- */
.hashtag-section {
    margin-bottom: 24px;
}

.hashtag-input-row {
    display: flex;
    gap: 10px;
}

.hashtag-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
    color: white;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s;
}

.hashtag-input:focus {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
}

.tag-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.tag-chip {
    background: rgba(74, 144, 226, 0.15);
    color: var(--accent-color);
    border: 1px solid rgba(74, 144, 226, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.tag-chip:hover {
    background: rgba(74, 144, 226, 0.25);
    transform: scale(1.05);
}

.tag-remove {
    font-size: 1.1rem;
    line-height: 1;
    opacity: 0.6;
}

.tag-chip:hover .tag-remove {
    opacity: 1;
}

/* --- Category Filter Bar (News page) --- */
.category-bar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 20px;
    scrollbar-width: none;
}

.category-bar::-webkit-scrollbar {
    display: none;
}

.cat-btn {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.cat-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.cat-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}
